/** * @see PackageInstallationQueue::getInstallationInfo() */ protected function getInstallationInfo() { $info = PackageInstallationQueue::getInstallationInfo(); $this->package = $info['packageID'] ? new Package(null, $info) : null; $this->packageArchive = new PackageArchive($info['archive'], $this->package); $this->packageArchive->openArchive(); }
/** * @see PackageInstallationQueue::getInstallationInfo() */ protected function getInstallationInfo() { $info = parent::getInstallationInfo(); $this->package = $info['packageID'] ? new Package(null, $info) : null; $this->packageArchive = new PackageArchive($info['archive'], $this->package); if ($this->parentQueueID == 0) { $this->progressPackage = $this; } else { require_once WCF_DIR . 'lib/acp/package/PackageInstallationInfo.class.php'; $this->progressPackage = new PackageInstallationInfo($this->parentQueueID); if ($this->progressPackage->parentQueueID != 0) { $this->progressPackage = null; } } // during the package installation we use languages variables of the installed package //if ($info['packageID']) WCF::getLanguage()->packageID = $info['packageID']; }
/** * @see PackageInstallationQueue::getInstallationInfo() */ protected function getInstallationInfo() { $info = parent::getInstallationInfo(); $this->openPackage($info); }