summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-05-04 14:42:22 +0200
committerLukas Reschke <lukas@owncloud.com>2015-05-04 17:11:17 +0200
commit64393b4c033fb842821da00e890415f3e08f18ea (patch)
tree1cbf617449e0613d875a1913dbd5cfbb108d8cb2
parent08b98a8ede6593c5101abdd2c8a4020dda4729ae (diff)
downloadnextcloud-server-64393b4c033fb842821da00e890415f3e08f18ea.tar.gz
nextcloud-server-64393b4c033fb842821da00e890415f3e08f18ea.zip
Remove PHP 5.4 warning in checkSetup
This is catched in index.php as older PHP versions will never execute the code path until there due to 5.4 syntax changes.
-rw-r--r--lib/private/util.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index f4624cfe964..177934aa350 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -739,15 +739,6 @@ class OC_Util {
$webServerRestart = true;
}
- if (version_compare(phpversion(), '5.4.0', '<')) {
- $errors[] = array(
- 'error' => $l->t('PHP %s or higher is required.', '5.4.0'),
- 'hint' => $l->t('Please ask your server administrator to update PHP to the latest version.'
- . ' Your PHP version is no longer supported by ownCloud and the PHP community.')
- );
- $webServerRestart = true;
- }
-
/**
* PHP 5.6 ships with a PHP setting which throws notices by default for a
* lot of endpoints. Thus we need to ensure that the value is set to -1