Adjust files_encryption requirements to the new core requirement (PHP 5.3.8).
This commit is contained in:
parent
baa587fd3c
commit
efbf18652c
|
@ -370,14 +370,7 @@ class Helper {
|
|||
* @return bool true if requirements are met
|
||||
*/
|
||||
public static function checkRequirements() {
|
||||
$result = true;
|
||||
|
||||
//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;
|
||||
return extension_loaded('openssl');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue