From f423874e0585699dfc239c8e4187b53a9a3c02da Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 11 May 2021 19:37:31 +0300 Subject: [PATCH] checking for PDO there is rather useless --- classes/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); }