summaryrefslogtreecommitdiffstats
path: root/owncloud-9.1.2-dont_warn_php54_eol.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-08 14:05:29 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-08 14:05:29 +0100
commiteddc46fd8959ebaaa87bbac7defeeb1c7ed38c2f (patch)
treec18ed75060e8a6dd79c4015247ea56cce36e24c8 /owncloud-9.1.2-dont_warn_php54_eol.patch
parentdd2519b150dfbb1415677e4b78d1aef4ea80cf45 (diff)
owncloud: 9.1.2
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;
+ }
+ }