summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-07-30 13:16:47 -0700
committerBrion Vibber <brion@pobox.com>2010-07-30 13:16:47 -0700
commit0caebc93084b160987239f34b25acadd3aff1fa4 (patch)
tree65684706a9cb076d939ec81920b18505fa45eec6
parentfb2e00eacc7090df0d05311e39f08cb72164a78c (diff)
Fix for ticket #2471: install.php returns unsuccessfully but doesn't display error message if PHP < 5.2.6 is used
http://status.net/open-source/issues/2471 Old bit of code didn't get updated for new installer
-rw-r--r--lib/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/installer.php b/lib/installer.php
index bd9d69cd4..ff2bed140 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -91,7 +91,7 @@ abstract class Installer
}
if (version_compare(PHP_VERSION, '5.2.3', '<')) {
- $errors[] = 'Require PHP version 5.2.3 or greater.';
+ $this->warning('Require PHP version 5.2.3 or greater.');
$pass = false;
}