switch approver and post pruners to use system user
This commit is contained in:
@@ -301,6 +301,10 @@ class User < ActiveRecord::Base
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
module ClassMethods
|
||||
def system
|
||||
Danbooru.config.system_user
|
||||
end
|
||||
|
||||
def level_hash
|
||||
return {
|
||||
"Member" => Levels::MEMBER,
|
||||
|
||||
Reference in New Issue
Block a user