summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-06 17:19:07 +0300
committerAndrew Dolgov <[email protected]>2021-02-06 17:19:07 +0300
commitb6e1a5c91a0999a13eda4207fc23ff495637d697 (patch)
treecf4979adb09176a59fa14f8611db07f62909ef71 /install
parentce2335deafa532ed6d69a06ef1e330345af5c7bd (diff)
fix several warnings reported by phpstan
Diffstat (limited to 'install')
-rw-r--r--install/index.php4
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>";