mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 10:57:04 +08:00
DEV: Remove unnecessary method_missing from GuardianUser (#24735)
Followup to 77b6a038ba
, this
was a mistake and should have been removed before merge.
This commit is contained in:
parent
3141994e38
commit
a5d4bf6dd2
|
@ -35,10 +35,6 @@ class GuardianUser
|
|||
true
|
||||
end
|
||||
end
|
||||
|
||||
def method_missing(method, *args, &block)
|
||||
@user_alike.public_send(method, *args, &block)
|
||||
end
|
||||
end
|
||||
|
||||
# The guardian is responsible for confirming access to various site resources and operations
|
||||
|
|
Loading…
Reference in New Issue
Block a user