diff options
author | Clark Tomlinson <fallen013@gmail.com> | 2014-12-04 10:33:04 -0500 |
---|---|---|
committer | Clark Tomlinson <fallen013@gmail.com> | 2014-12-04 10:33:04 -0500 |
commit | b8a2fdaa21ef84ef778b6b38c5d57f0babf896c5 (patch) | |
tree | 39d1e3f8dd6d0fc6b658b0e0f4d30dbe0298e464 /lib/private/util.php | |
parent | a0488453ac91ba42dd6264a311b5fd620690a83c (diff) | |
parent | 1b0bc2e0994651a1c470c8c97c946c40a61f819c (diff) | |
download | nextcloud-server-b8a2fdaa21ef84ef778b6b38c5d57f0babf896c5.tar.gz nextcloud-server-b8a2fdaa21ef84ef778b6b38c5d57f0babf896c5.zip |
Merge pull request #12607 from owncloud/this-is-an-awesome-day
PHP 5.4 is now required for master
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 |