diff options
author | Andrew Dolgov <[email protected]> | 2021-05-11 19:37:31 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-05-11 19:37:31 +0300 |
commit | f423874e0585699dfc239c8e4187b53a9a3c02da (patch) | |
tree | cc3b5b1982dee47edb7ef700081adb8c4c6f4a95 /classes/config.php | |
parent | b5a559a1a7315b66768b38fe78eb49663636db8c (diff) |
checking for PDO there is rather useless
Diffstat (limited to 'classes/config.php')
-rw-r--r-- | classes/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/config.php b/classes/config.php index 1386b553a..4ae4a2407 100644 --- a/classes/config.php +++ b/classes/config.php @@ -485,7 +485,7 @@ class Config { } // ttrss_users won't be there on initial startup (before migrations are done) - if (!Config::is_migration_needed() && self::get(Config::SINGLE_USER_MODE) && class_exists("PDO")) { + if (!Config::is_migration_needed() && self::get(Config::SINGLE_USER_MODE)) { if (UserHelper::get_login_by_id(1) != "admin") { array_push($errors, "SINGLE_USER_MODE is enabled but default admin account (ID: 1) is not found."); } |