]> source.dussan.org Git - redmine.git/commitdiff
gender neutral source comment at app/models/user.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 6 Jul 2013 00:04:58 +0000 (00:04 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 6 Jul 2013 00:04:58 +0000 (00:04 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11989 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/user.rb

index 94bda6a37ce93f2cf5fd86afbe81e1ca2c39444e..40a7120b463e6684d9d0a35470e01863db2ccb1d 100644 (file)
@@ -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?)