diff options
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/User.php b/classes/User.php index 1dca59f23..82d3bd59a 100644 --- a/classes/User.php +++ b/classes/User.php @@ -679,10 +679,10 @@ class User extends Memcached_DataObject case Right::SANDBOXUSER: case Right::SILENCEUSER: case Right::DELETEUSER: - $result = $this->hasRole(User_role::MODERATOR); + $result = $this->hasRole(Profile_role::MODERATOR); break; case Right::CONFIGURESITE: - $result = $this->hasRole(User_role::ADMINISTRATOR); + $result = $this->hasRole(Profile_role::ADMINISTRATOR); break; default: $result = false; |