mirror of
https://github.com/discourse/discourse.git
synced 2025-01-28 00:27:32 +08:00
3137e60653
This PR introduces a basic AdminNotice model to store these notices. Admin notices are categorized by their source/type (currently only notices from problem check.) They also have a priority.
11 lines
251 B
Ruby
11 lines
251 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ProblemCheck::InlineProblemCheck < ProblemCheck
|
|
def call
|
|
# The logic of this problem check is performed inline, so this class is
|
|
# purely here to support its configuration.
|
|
#
|
|
no_problem
|
|
end
|
|
end
|