mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:15:56 +00:00
OPML: use PDO; minor fixes
This commit is contained in:
@@ -7,6 +7,12 @@ class Logger_SQL {
|
||||
|
||||
if ($pdo && get_schema_version() > 117) {
|
||||
|
||||
try {
|
||||
$pdo->rollBack();
|
||||
} catch (Exception $e) {
|
||||
//
|
||||
}
|
||||
|
||||
$owner_uid = $_SESSION["uid"] ? $_SESSION["uid"] : null;
|
||||
|
||||
$sth = $pdo->prepare("INSERT INTO ttrss_error_log
|
||||
|
||||
Reference in New Issue
Block a user