diff options
author | Andrew Dolgov <[email protected]> | 2021-02-06 17:19:07 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-06 17:19:07 +0300 |
commit | b6e1a5c91a0999a13eda4207fc23ff495637d697 (patch) | |
tree | cf4979adb09176a59fa14f8611db07f62909ef71 /install | |
parent | ce2335deafa532ed6d69a06ef1e330345af5c7bd (diff) |
fix several warnings reported by phpstan
Diffstat (limited to 'install')
-rw-r--r-- | install/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/index.php b/install/index.php index 0859fc4d7..9c696b21d 100644 --- a/install/index.php +++ b/install/index.php @@ -81,7 +81,7 @@ } - function sanity_check($db_type) { + function installer_sanity_check($db_type) { $errors = array(); if (version_compare(PHP_VERSION, '7.0.0', '<')) { @@ -278,7 +278,7 @@ <h2>Checking configuration</h2> <?php - $errors = sanity_check($DB_TYPE); + $errors = installer_sanity_check($DB_TYPE); if (count($errors) > 0) { print "<p>Some configuration tests failed. Please correct them before continuing.</p>"; |