diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-29 15:20:54 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-29 15:20:54 -0800 |
commit | c2b11cae83eb986f16253aa13f0b7cf494e1c680 (patch) | |
tree | e2d4627aa74cfe7cfd7401522f4688e1ea4474da | |
parent | baa587fd3cc77a6b52327dd75ceeaffe092826de (diff) | |
parent | efbf18652c6eef42e2ca2fda3572d74d2be022dd (diff) | |
download | nextcloud-server-c2b11cae83eb986f16253aa13f0b7cf494e1c680.tar.gz nextcloud-server-c2b11cae83eb986f16253aa13f0b7cf494e1c680.zip |
Merge pull request #6132 from owncloud/encryption-version-bump
Adjust files_encryption requirements to the new core requirement (PHP 5.3.8)
-rwxr-xr-x | apps/files_encryption/lib/helper.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php index 17bcac5c585..9aa631d114e 100755 --- a/apps/files_encryption/lib/helper.php +++ b/apps/files_encryption/lib/helper.php @@ -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'); } /** |