mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
extractCore no longer needs args
This commit is contained in:
parent
1a365b10b7
commit
d8df4f6c18
@ -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');
|
||||
|
||||
|
@ -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[] = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user