summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-16 16:06:52 +0100
committerEvan Prodromou <evan@status.net>2009-11-16 16:06:52 +0100
commit3e08309826f1f627676a02b85d6809fcbd27a37b (patch)
tree8f751626e7a4da08e2ffce8a6106a188782e02e0 /classes/User.php
parentdd10e9729bfa6dc712433db49e385f94cbc3cdea (diff)
change uses of User_role to Profile_role
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php4
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;