mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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:
@@ -35,10 +35,6 @@ class GuardianUser
|
|||||||
true
|
true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def method_missing(method, *args, &block)
|
|
||||||
@user_alike.public_send(method, *args, &block)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# The guardian is responsible for confirming access to various site resources and operations
|
# The guardian is responsible for confirming access to various site resources and operations
|
||||||
|
|||||||
Reference in New Issue
Block a user