summaryrefslogtreecommitdiffstats
path: root/owncloud-8.2.3-dont_warn_php54_eol.patch
diff options
context:
space:
mode:
Diffstat (limited to 'owncloud-8.2.3-dont_warn_php54_eol.patch')
-rw-r--r--owncloud-8.2.3-dont_warn_php54_eol.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/owncloud-8.2.3-dont_warn_php54_eol.patch b/owncloud-8.2.3-dont_warn_php54_eol.patch
new file mode 100644
index 0000000..c3454b2
--- /dev/null
+++ b/owncloud-8.2.3-dont_warn_php54_eol.patch
@@ -0,0 +1,16 @@
+diff --git a/settings/controller/checksetupcontroller.php b/settings/controller/checksetupcontroller.php
+index bd0737a..064058a 100644
+--- a/settings/controller/checksetupcontroller.php
++++ b/settings/controller/checksetupcontroller.php
+@@ -205,10 +205,7 @@ class CheckSetupController extends Controller {
+ private function isPhpSupported() {
+ $eol = false;
+
+- //PHP 5.4 is EOL on 14 Sep 2015
+- if (version_compare(PHP_VERSION, '5.5.0') === -1) {
+- $eol = true;
+- }
++ // Red Hat provide support for the system PHP so never eol
+
+ return ['eol' => $eol, 'version' => PHP_VERSION];
+ }