remove unnecessary warning if sqlite is available but not the configured db backend - see https://github.com/postfixadmin/postfixadmin/issues/534

This commit is contained in:
David Goodwin committed 2021-09-02 21:46:19 +01:00
1 parent 8e3d5b5545
commit 589e7ea403
1 file changed
-3
-3
View File
@@ -647,9 +647,6 @@ function do_software_environment_check() {
if ($m_pdo_sqlite == 1) {
$info[] = "Database - SQLite support available";
if (Config::read_string('database_type') != 'sqlite') {
$warn[] = "Change the database_type to 'sqlite' in config.local.php if you want to use SQLite";
}
} else {
$warn[] = "Database support - SQLite (pdo_sqlite) extension not found";
}