Skip to content

Commit

Permalink
remove all calls to private method $user->loadGroups()
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattisimo committed Sep 6, 2012
1 parent 2759abc commit 48bf03a
Show file tree
Hide file tree
Showing 4 changed files with 194 additions and 203 deletions.
3 changes: 0 additions & 3 deletions SpecialEditUser.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ function doGET()
if(!empty($this->returnto))
$searchFormHTML = '';

$user->loadGroups();

$id = $user->getId();
$this->userid = $id;
$this->mParams['userid'] = $id;
Expand Down Expand Up @@ -621,7 +619,6 @@ function doPOST()
}

# Update groups if needed
$user->loadGroups();
$currentGroups = $user->getGroups();
$remove = array();
$add = array();
Expand Down
Loading

0 comments on commit 48bf03a

Please sign in to comment.