diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-04-09 05:35:46 -0700 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-04-09 05:35:46 -0700 |
commit | aef66e06b33dbfe5477cc39fe7e12f48bdedc729 (patch) | |
tree | c28dcdcd0f20cd7c0647f737913392772d4c0fa5 | |
parent | 67a84ad48770c6cd8500a6b590eef3ee00da4bb6 (diff) | |
parent | 440148aa1f7bdfb1001b5dc1b56d29cfbf19df52 (diff) | |
download | nextcloud-server-aef66e06b33dbfe5477cc39fe7e12f48bdedc729.tar.gz nextcloud-server-aef66e06b33dbfe5477cc39fe7e12f48bdedc729.zip |
Merge pull request #2818 from owncloud/fix_versioncheck
fix versioning check
-rw-r--r-- | lib/installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/installer.php b/lib/installer.php index 251d115b76c..4ddfd17660d 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -135,7 +135,7 @@ class OC_Installer{ // check if the app is compatible with this version of ownCloud $version=OC_Util::getVersion(); - if(!isset($info['require']) or ($version[0]>$info['require'])) { + if(!isset($info['require']) or !OC_App::isAppVersionCompatible($version, $info['require'])) { OC_Log::write('core', 'App can\'t be installed because it is not compatible with this version of ownCloud', OC_Log::ERROR); |