summaryrefslogtreecommitdiff
path: root/include/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-17 09:18:03 +0300
committerAndrew Dolgov <[email protected]>2020-09-17 09:18:03 +0300
commite3adacc5885e46b014236195b2f1eb265b3cc14e (patch)
treef79e4c4721f027dfd50e5ba0b6b77dfef26bdbb8 /include/sanity_check.php
parent16c86e2fc394935d64ff43ec89be6b7ae5a19e69 (diff)
fix several cases of Db class being invoked as wrong name (as DB)
Diffstat (limited to 'include/sanity_check.php')
-rwxr-xr-xinclude/sanity_check.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php
index b0f7f7402..454d44883 100755
--- a/include/sanity_check.php
+++ b/include/sanity_check.php
@@ -105,7 +105,7 @@
}
if (SINGLE_USER_MODE && class_exists("PDO")) {
- $pdo = DB::pdo();
+ $pdo = Db::pdo();
$res = $pdo->query("SELECT id FROM ttrss_users WHERE id = 1");