From: nupplaPhil Date: Fri, 17 Jan 2020 23:08:48 +0000 (+0100) Subject: Fix Storage move command X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e5eeaf78f207f55e007e0a858a3d1638ce506122;p=friendica.git Fix Storage move command --- diff --git a/src/Console/Storage.php b/src/Console/Storage.php index f4b4de562e..fcf55a9444 100644 --- a/src/Console/Storage.php +++ b/src/Console/Storage.php @@ -130,7 +130,6 @@ HELP; protected function doMove() { - $tables = null; if (count($this->args) < 1 || count($this->args) > 2) { throw new CommandArgsException('Invalid arguments'); } @@ -141,6 +140,8 @@ HELP; throw new CommandArgsException('Invalid table'); } $tables = [$table]; + } else { + $tables = StorageManager::TABLES; } $current = $this->storageManager->getBackend();