summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-26 00:37:11 -0800
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-26 00:37:11 -0800
commit5b250afafc9e32e64458bb9237e4f895a0be3e4a (patch)
tree6a9fe102e04f5f7d1f1265876fade0a4e2f88a32 /lib
parent072daf8850c87b070c3dad921c16246d095d9cb2 (diff)
parentf415f3e03e733e6110827d28470aae51bdaea844 (diff)
downloadnextcloud-server-5b250afafc9e32e64458bb9237e4f895a0be3e4a.tar.gz
nextcloud-server-5b250afafc9e32e64458bb9237e4f895a0be3e4a.zip
Merge pull request #1903 from owncloud/fix_version_check
return true once one owncloud version number is bigger at any position
Diffstat (limited to 'lib')
-rw-r--r--lib/app.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php
index 2eb43a582e2..55b4543ec9f 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -885,6 +885,8 @@ class OC_App{
if($owncloudVersion < $appVersion){
return false;
+ } elseif ($owncloudVersion > $appVersion) {
+ return true;
}
}