1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:15:55 +00:00

updater: rollback on error

This commit is contained in:
Andrew Dolgov
2019-03-06 19:09:28 +03:00
parent 38e01270d8
commit 0d04e21006

View File

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