diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-12-04 10:45:28 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-12-04 10:46:38 +0100 |
commit | 1b0bc2e0994651a1c470c8c97c946c40a61f819c (patch) | |
tree | 8ae2b25ff5ee072c34b8fb6a2a831140c0e89a8d /lib/private/util.php | |
parent | 8700ffe69809d7551a08f224537650b43add2a59 (diff) | |
download | nextcloud-server-1b0bc2e0994651a1c470c8c97c946c40a61f819c.tar.gz nextcloud-server-1b0bc2e0994651a1c470c8c97c946c40a61f819c.zip |
PHP 5.4 is now required for master
:beers:
Diffstat (limited to 'lib/private/util.php')
-rw-r--r-- | lib/private/util.php | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index a18a4e44232..38db431e895 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -605,9 +605,9 @@ class OC_Util { $webServerRestart = true; } - if (version_compare(phpversion(), '5.3.3', '<')) { + if (version_compare(phpversion(), '5.4.0', '<')) { $errors[] = array( - 'error' => $l->t('PHP %s or higher is required.', '5.3.3'), + '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.') ); @@ -1114,15 +1114,6 @@ class OC_Util { } /** - * Check if a PHP version older then 5.3.8 is installed. - * - * @return bool - */ - public static function isPHPoutdated() { - return version_compare(phpversion(), '5.3.8', '<'); - } - - /** * Check if the ownCloud server can connect to the internet * * @return bool |