Merge pull request #6132 from owncloud/encryption-version-bump
Adjust files_encryption requirements to the new core requirement (PHP 5.3.8)
This commit is contained in:
commit
c2b11cae83
|
@ -370,14 +370,7 @@ class Helper {
|
||||||
* @return bool true if requirements are met
|
* @return bool true if requirements are met
|
||||||
*/
|
*/
|
||||||
public static function checkRequirements() {
|
public static function checkRequirements() {
|
||||||
$result = true;
|
return extension_loaded('openssl');
|
||||||
|
|
||||||
//openssl extension needs to be loaded
|
|
||||||
$result &= extension_loaded("openssl");
|
|
||||||
// we need php >= 5.3.3
|
|
||||||
$result &= version_compare(phpversion(), '5.3.3', '>=');
|
|
||||||
|
|
||||||
return (bool) $result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue