Fix Storage move command
This commit is contained in:
parent
3ea5177c42
commit
e5eeaf78f2
|
@ -130,7 +130,6 @@ HELP;
|
||||||
|
|
||||||
protected function doMove()
|
protected function doMove()
|
||||||
{
|
{
|
||||||
$tables = null;
|
|
||||||
if (count($this->args) < 1 || count($this->args) > 2) {
|
if (count($this->args) < 1 || count($this->args) > 2) {
|
||||||
throw new CommandArgsException('Invalid arguments');
|
throw new CommandArgsException('Invalid arguments');
|
||||||
}
|
}
|
||||||
|
@ -141,6 +140,8 @@ HELP;
|
||||||
throw new CommandArgsException('Invalid table');
|
throw new CommandArgsException('Invalid table');
|
||||||
}
|
}
|
||||||
$tables = [$table];
|
$tables = [$table];
|
||||||
|
} else {
|
||||||
|
$tables = StorageManager::TABLES;
|
||||||
}
|
}
|
||||||
|
|
||||||
$current = $this->storageManager->getBackend();
|
$current = $this->storageManager->getBackend();
|
||||||
|
|
Loading…
Reference in a new issue