[Pkg-owncloud-commits] [owncloud] 71/122: Don't depend on always_populate_raw_post_data

David Prévot taffit at moszumanska.debian.org
Sat May 9 00:00:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 11310355ede2f91ba9bff7e444045defd37c8779
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Tue May 5 12:36:15 2015 +0200

    Don't depend on always_populate_raw_post_data
---
 lib/private/util.php | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/lib/private/util.php b/lib/private/util.php
index f8776c2..367199f 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -754,25 +754,6 @@ class OC_Util {
 			);
 		}
 
-		/**
-		 * PHP 5.6 ships with a PHP setting which throws notices by default for a
-		 * lot of endpoints. Thus we need to ensure that the value is set to -1
-		 *
-		 * FIXME: Due to https://github.com/owncloud/core/pull/13593#issuecomment-71178078
-		 * this check is disabled for HHVM at the moment. This should get re-evaluated
-		 * at a later point.
-		 *
-		 * @link https://github.com/owncloud/core/issues/13592
-		 */
-		if(version_compare(phpversion(), '5.6.0', '>=') &&
-			!self::runningOnHhvm() &&
-			\OC::$server->getIniWrapper()->getNumeric('always_populate_raw_post_data') !== -1) {
-			$errors[] = array(
-				'error' => $l->t('PHP is configured to populate raw post data. Since PHP 5.6 this will lead to PHP throwing notices for perfectly valid code.'),
-				'hint' => $l->t('To fix this issue set <code>always_populate_raw_post_data</code> to <code>-1</code> in your php.ini')
-			);
-		}
-
 		if (!self::isAnnotationsWorking()) {
 			$errors[] = array(
 				'error' => $l->t('PHP is apparently setup to strip inline doc blocks. This will make several core apps inaccessible.'),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list