From 5d42ce553faa3a3eb2a12d66c9b0870ad778c163 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Feb 2021 16:55:55 +0300 Subject: drop legacy DB interface and related sanity checks --- include/sanity_check.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include') diff --git a/include/sanity_check.php b/include/sanity_check.php index c5ffb87ec..9407b606f 100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -137,14 +137,6 @@ array_push($errors, "PHP support for JSON is required, but was not found."); } - if (DB_TYPE == "mysql" && !function_exists("mysqli_connect")) { - array_push($errors, "PHP support for MySQL is required for configured DB_TYPE in config.php."); - } - - if (DB_TYPE == "pgsql" && !function_exists("pg_connect")) { - array_push($errors, "PHP support for PostgreSQL is required for configured DB_TYPE in config.php"); - } - if (!class_exists("PDO")) { array_push($errors, "PHP support for PDO is required but was not found."); } -- cgit v1.2.3-54-g00ecf