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

Commit

Permalink
rename class
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaruesweg committed Dec 28, 2013
1 parent 0cda1f5 commit 3309809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/lib/system/event/listener/PremiumMenuListener.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace wcf\system\event\listener;

use wcf\system\event\IEventListener;
use wcf\data\user\group\premium\PremiumCache;
use wcf\data\user\group\premium\UserGroupPremiumCache;
use wcf\system\WCF;

/**
Expand All @@ -20,7 +20,7 @@ public function execute($eventObj, $className, $eventName) {
if (!MODULE_JCOINS || !MODULE_JCOINS_PREMIUMGROUPS) return;

WCF::getTPL()->assign(array(
'premiumGroupsAvailable' => (count(PremiumCache::getInstance()->getActiveGroups()) > 0) ? true : false
'premiumGroupsAvailable' => (count(UserGroupPremiumCache::getInstance()->getActiveGroups()) > 0) ? true : false
));
}

Expand Down

0 comments on commit 3309809

Please sign in to comment.