]> git.wh0rd.org - tt-rss.git/blobdiff - include/sanity_check.php
remove support for legacy mysql driver
[tt-rss.git] / include / sanity_check.php
index 7ca7519c6316e2d1da6a48899ab7dedcd448b6e9..f1181f88c0d69bc7f3a5b3e9c89bd6e8fd512b6b 100755 (executable)
                                array_push($errors, "PHP support for JSON is required, but was not found.");
                        }
 
-                       if (DB_TYPE == "mysql" && !function_exists("mysql_connect") && !function_exists("mysqli_connect")) {
+                       if (DB_TYPE == "mysql" && !function_exists("mysqli_connect")) {
                                array_push($errors, "PHP support for MySQL is required for configured DB_TYPE in config.php.");
                        }