updater: rollback on error

This commit is contained in:
Andrew Dolgov 2019-03-06 19:09:28 +03:00
parent 38e01270d8
commit 0d04e21006
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ class DbUpdater {
Debug::log("Error: " . implode(", ", $this->pdo->errorInfo()));
}
$this->pdo->rollBack();
return false;
}
}