/** * Unzip the downloaded update file into the temp package folder. * * @param string $downloadFilePath * @param string $unzipFolder * * @return bool */ private function _unpackPackage($downloadFilePath, $unzipFolder) { Craft::log('Unzipping package to ' . $unzipFolder, LogLevel::Info, true); if (Zip::unzip($downloadFilePath, $unzipFolder)) { return true; } return false; }