Revert "DEV: move post flags into database (#26951)" (#27102)

This reverts commit 7aff9806eb3592767313299d7a0b8c413e328d20.
This commit is contained in:
Krzysztof Kotlarek
2024-05-21 16:21:07 +10:00
committed by GitHub
parent 67a7b28096
commit 40d65dddf8
28 changed files with 83 additions and 346 deletions

View File

@ -1,7 +0,0 @@
# frozen_string_literal: true
module FlagGuardian
def can_edit_flag?(flag)
@user.admin? && !flag.system? && !flag.used?
end
end