1
0
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:
Andrew Dolgov
2017-12-02 01:08:30 +03:00
parent 4102eb843f
commit c949a9282e
5 changed files with 174 additions and 125 deletions

View File

@@ -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