Exemple #1
0
 /**
  * Initializes core object cache.
  */
 protected function initCoreObjects()
 {
     // ignore core objects if installing WCF
     if (PACKAGE_ID == 0) {
         return;
     }
     self::$coreObjectCache = CoreObjectCacheBuilder::getInstance()->getData();
 }
Exemple #2
0
 /**
  * Initializes core object cache.
  */
 protected function initCoreObjects()
 {
     // ignore core objects if installing WCF
     if (PACKAGE_ID == 0) {
         return;
     }
     self::$coreObjectCache = CacheHandler::getInstance()->get('coreObjects-' . PACKAGE_ID);
     self::$packageDependencies = \wcf\system\package\PackageDependencyHandler::getInstance()->getDependencies();
 }