Example #1
0
 public function __construct()
 {
     parent::__construct($this);
     $this->oDb = WCF::getDB();
     $oUser = WCF::getUser();
     if ($oUser && $oUser->userID) {
         $this->oUser = $oUser;
     }
     $this->loadImActive();
     $this->loadPushStatus();
     $this->loadSlug();
     $this->siteUrl = WCF::getPath('wbb');
     $this->pushKey = WBB_TAPATALK_API_KEY;
     $this->pushNotification = WBB_TAPATALK_PUSH_NOTIFICATION_TYPE;
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
 }