Skip to content

Commit

Permalink
Changed deprecated call of UserModel->Get(int) to UserModel->GetID().
Browse files Browse the repository at this point in the history
  • Loading branch information
tburry committed Sep 15, 2011
1 parent 763d359 commit 300a5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/dashboard/models/class.usermodel.php
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ public function SaveRoles($UserID, $RoleIDs, $RecordActivity = TRUE) {
$this->ClearCache($UserID, array('roles', 'permissions'));

if ($RecordActivity && (count($DeleteRoleIDs) > 0 || count($InsertRoleIDs) > 0)) {
$User = $this->Get($UserID);
$User = $this->GetID($UserID);
$Session = Gdn::Session();

$OldRoles = FALSE;
Expand Down

0 comments on commit 300a5dd

Please sign in to comment.