[Pkg-owncloud-commits] [owncloud] 43/52: Adjust files_encryption requirements to the new core requirement (PHP 5.3.8).
David Prévot
taffit at moszumanska.debian.org
Mon Dec 2 01:49:41 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit efbf18652c6eef42e2ca2fda3572d74d2be022dd
Author: Andreas Fischer <bantu at owncloud.com>
Date: Fri Nov 29 20:34:57 2013 +0100
Adjust files_encryption requirements to the new core requirement (PHP 5.3.8).
---
apps/files_encryption/lib/helper.php | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php
index 17bcac5..9aa631d 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');
}
/**
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list