/** * Initializes core object cache. */ protected function initCoreObjects() { // ignore core objects if installing WCF if (PACKAGE_ID == 0) { return; } self::$coreObjectCache = CoreObjectCacheBuilder::getInstance()->getData(); }
/** * 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(); }