extractCore no longer needs args

This commit is contained in:
Samuel Georges 2017-07-29 16:21:34 +10:00
parent 1a365b10b7
commit d8df4f6c18
2 changed files with 3 additions and 7 deletions

View File

@ -435,11 +435,9 @@ class UpdateManager
/**
* Extracts the core after it has been downloaded.
* @param string $hash
* @param string $build
* @return void
*/
public function extractCore($hash, $build)
public function extractCore()
{
$filePath = $this->getFilePath('core');

View File

@ -273,7 +273,7 @@ class Updates extends Controller
break;
case 'extractCore':
$manager->extractCore(post('hash'), post('build'));
$manager->extractCore();
break;
case 'setBuild':
@ -603,9 +603,7 @@ class Updates extends Controller
if ($coreHash) {
$updateSteps[] = [
'code' => 'extractCore',
'label' => Lang::get('system::lang.updates.core_extracting'),
'hash' => $coreHash,
'build' => $coreBuild
'label' => Lang::get('system::lang.updates.core_extracting')
];
$updateSteps[] = [