Fix Storage move command

2022.09-rc
nupplaPhil 2020-01-18 00:08:48 +01:00
rodzic 3ea5177c42
commit e5eeaf78f2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: D8365C3D36B77D90
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

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