mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 06:22:10 +08:00

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
|