summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2018-08-03 10:50:20 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2018-08-03 11:00:30 +1000
commit21d6b3154d19e29b9aafd961812e7b8b516e1729 (patch)
tree047d21a3344981244345a50b4cd046d35a4c454a
parent4a03bd220d36b09aa1b38840b7304f182d623f59 (diff)
downloadgitlab-shell-21d6b3154d19e29b9aafd961812e7b8b516e1729.tar.gz
Actor::Base audit_usernames? now an alias
-rw-r--r--lib/actor/base.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/actor/base.rb b/lib/actor/base.rb
index 0b5b5c3..0510c60 100644
--- a/lib/actor/base.rb
+++ b/lib/actor/base.rb
@@ -43,6 +43,8 @@ module Actor
attr_reader :audit_usernames
+ alias audit_usernames? audit_usernames
+
def klass_name
self.class.to_s.split('::')[-1]
end
@@ -50,9 +52,5 @@ module Actor
def label
klass_name.downcase
end
-
- def audit_usernames?
- audit_usernames
- end
end
end