mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-09 09:34:20 +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.
10 lines
251 B
Ruby
10 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
|