Skip to content

Commit 32b0399

Browse files
committed
B2B-1785: Cannot enable remote storage with install command when modules are not enabled
1 parent 9850c4a commit 32b0399

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup/src/Magento/Setup/Model/Installer.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ public function install($request)
392392
list($message, $method, $params) = $item;
393393
$this->log->log($message);
394394
try {
395-
$this->$method(...$params);
395+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
396+
call_user_func_array([$this, $method], $params);
396397
} catch (RuntimeException $e) {
397398
$this->revertRemoteStorageConfiguration();
398399
throw $e;

0 commit comments

Comments
 (0)