summaryrefslogtreecommitdiffstats
path: root/owncloud-9.1.2-dont_warn_php54_eol.patch
diff options
context:
space:
mode:
Diffstat (limited to 'owncloud-9.1.2-dont_warn_php54_eol.patch')
-rw-r--r--owncloud-9.1.2-dont_warn_php54_eol.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/owncloud-9.1.2-dont_warn_php54_eol.patch b/owncloud-9.1.2-dont_warn_php54_eol.patch
new file mode 100644
index 0000000..efb3c80
--- /dev/null
+++ b/owncloud-9.1.2-dont_warn_php54_eol.patch
@@ -0,0 +1,18 @@
+--- ./settings/Controller/CheckSetupController.php.old 2016-11-08 13:57:55.244970190 +0100
++++ ./settings/Controller/CheckSetupController.php 2016-11-08 13:57:59.087987805 +0100
+@@ -347,13 +347,8 @@
+ * @return bool
+ */
+ protected function isEndOfLive() {
+- $eol = false;
+
+- //PHP 5.4 is EOL on 14 Sep 2015
+- if (version_compare(PHP_VERSION, '5.5.0') === -1) {
+- $eol = true;
+- return $eol;
+- }
+- return $eol;
++ // Red Hat provide support for the system PHP so never eol
++ return false;
+ }
+ }