Merge pull request #16663 from owncloud/no-sense-to-check-for-cli

Remove check for RAW_POPULATE_POST_DATA for unit tests
This commit is contained in:
Joas Schilling 2015-06-01 17:35:30 +02:00
commit 1c47b14651
1 changed files with 0 additions and 7 deletions

View File

@ -6,13 +6,6 @@ if ($configDir) {
define('PHPUNIT_CONFIG_DIR', $configDir);
}
if (!defined('HHVM_VERSION')) {
if(version_compare(phpversion(), '5.6.0', '>=') &&
ini_get('always_populate_raw_post_data') !== '-1') {
throw new Exception("'always_populate_raw_post_data' has to be set to '-1' in your php.ini");
}
}
require_once __DIR__ . '/../lib/base.php';
// load minimum set of apps