mirror of https://tt-rss.org/git/tt-rss.git
updater: rollback on error
This commit is contained in:
parent
38e01270d8
commit
0d04e21006
|
@ -57,6 +57,7 @@ class DbUpdater {
|
|||
Debug::log("Error: " . implode(", ", $this->pdo->errorInfo()));
|
||||
}
|
||||
|
||||
$this->pdo->rollBack();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue