Skip to content

Commit

Permalink
removed call to $user->loadGroups()
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattisimo committed Sep 6, 2012
1 parent df8645d commit 7bee570
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions SpecialUADMBase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,6 @@ static function getUserLastEditTimestamp($user)
*/
function isAdminUser($user)
{
$user->loadGroups();

foreach($user->getGroups() as $groupName)
if($groupName == 'sysop')
return true;
Expand Down

0 comments on commit 7bee570

Please sign in to comment.