Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge origin/master
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaruesweg committed May 11, 2014
2 parents 0825a58 + 2ee8166 commit d5c80ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
use wcf\system\exception\PermissionDeniedException;
use wcf\system\user\storage\UserStorageHandler;
use wcf\system\WCF;
use wcf\data\user\UserEditor;
use wcf\data\user\User;
use wcf\data\user\UserEditor;
use wcf\data\user\UserProfile;
use wcf\data\user\UserProfileAction;
use wcf\data\user\User;

/**
* Provides functions to handle premium-groups.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function execute($eventObj, $className, $eventName) {
if (count($eventObj->user) == 0) return;

// reset storage
UserStorageHandler::getInstance()->reset(array(array_keys($eventObj->userToGroups)), 'jCoinsPremiumGroupIDs');
UserStorageHandler::getInstance()->reset(array_keys($eventObj->userToGroups), 'jCoinsPremiumGroupIDs');
}

}
}

0 comments on commit d5c80ab

Please sign in to comment.