1
0
Fork 0

Fix Storage move command

This commit is contained in:
Philipp Holzer 2020-01-18 00:08:48 +01:00
parent 3ea5177c42
commit e5eeaf78f2
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -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();