summaryrefslogtreecommitdiff
path: root/classes/config.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-05-11 19:37:31 +0300
committerAndrew Dolgov <[email protected]>2021-05-11 19:37:31 +0300
commitf423874e0585699dfc239c8e4187b53a9a3c02da (patch)
treecc3b5b1982dee47edb7ef700081adb8c4c6f4a95 /classes/config.php
parentb5a559a1a7315b66768b38fe78eb49663636db8c (diff)
checking for PDO there is rather useless
Diffstat (limited to 'classes/config.php')
-rw-r--r--classes/config.php2
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.");
}