diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-12-04 11:17:44 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-12-04 11:17:44 +0100 |
commit | 0dd44eaf2736bdd0459597dde3521c3ec5a449cd (patch) | |
tree | 000aa10c6a094b46808b45e7e3c36255662fe8fb /apps/files_encryption | |
parent | 5aad902507acd173e8bf8304d13eb27b03abcb08 (diff) | |
download | nextcloud-server-0dd44eaf2736bdd0459597dde3521c3ec5a449cd.tar.gz nextcloud-server-0dd44eaf2736bdd0459597dde3521c3ec5a449cd.zip |
OC8 and later requires PHP >= 5.4, so we can remove the check from the encryption app
Diffstat (limited to 'apps/files_encryption')
-rw-r--r-- | apps/files_encryption/lib/helper.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php index 5ea2d0fc072..34deb112798 100644 --- a/apps/files_encryption/lib/helper.php +++ b/apps/files_encryption/lib/helper.php @@ -392,14 +392,10 @@ 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 extension_loaded("openssl"); - return (bool) $result; } /** |