summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-07-06 00:04:58 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-07-06 00:04:58 +0000
commitedb6e245cf16cbfa1161f213ffd6654dc0a3d39a (patch)
tree4650096373502e8255b165b6d29b3c940e8f64a8
parente1ca4a8663eb85151473d815d5afd84cb9c50c73 (diff)
downloadredmine-edb6e245cf16cbfa1161f213ffd6654dc0a3d39a.tar.gz
redmine-edb6e245cf16cbfa1161f213ffd6654dc0a3d39a.zip
gender neutral source comment at app/models/user.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11989 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 94bda6a37..40a7120b4 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -548,7 +548,7 @@ class User < Principal
allowed_to?(action, nil, options.reverse_merge(:global => true), &block)
end
- # Returns true if the user is allowed to delete his own account
+ # Returns true if the user is allowed to delete the user's own account
def own_account_deletable?
Setting.unsubscribe? &&
(!admin? || User.active.where("admin = ? AND id <> ?", true, id).exists?)