updater: rollback on error

master
Andrew Dolgov 6 years ago
parent 38e01270d8
commit 0d04e21006

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

Loading…
Cancel
Save