Index: trunk/phase3/includes/User.php |
— | — | @@ -2160,7 +2160,7 @@ |
2161 | 2161 | 'ug_user' => $this->getID(), |
2162 | 2162 | 'ug_group' => $group, |
2163 | 2163 | ), |
2164 | | - 'User::addGroup', |
| 2164 | + __METHOD__, |
2165 | 2165 | array( 'IGNORE' ) ); |
2166 | 2166 | } |
2167 | 2167 | |
— | — | @@ -2183,8 +2183,7 @@ |
2184 | 2184 | array( |
2185 | 2185 | 'ug_user' => $this->getID(), |
2186 | 2186 | 'ug_group' => $group, |
2187 | | - ), |
2188 | | - 'User::removeGroup' ); |
| 2187 | + ), __METHOD__ ); |
2189 | 2188 | |
2190 | 2189 | $this->loadGroups(); |
2191 | 2190 | $this->mGroups = array_diff( $this->mGroups, array( $group ) ); |
— | — | @@ -2777,7 +2776,7 @@ |
2778 | 2777 | return $res; |
2779 | 2778 | else { |
2780 | 2779 | $dbr = wfGetDB( DB_SLAVE ); |
2781 | | - return $res = $dbr->selectField( 'user', 'max(user_id)', false, 'User::getMaxID' ); |
| 2780 | + return $res = $dbr->selectField( 'user', 'max(user_id)', false, __METHOD__ ); |
2782 | 2781 | } |
2783 | 2782 | } |
2784 | 2783 | |