From 1b0bc2e0994651a1c470c8c97c946c40a61f819c Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 4 Dec 2014 10:45:28 +0100 Subject: PHP 5.4 is now required for master :beers: --- lib/private/util.php | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'lib/private/util.php') 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.') ); @@ -1113,15 +1113,6 @@ class OC_Util { return function_exists('finfo_open'); } - /** - * 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 * -- cgit v1.2.3