summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-25 23:06:26 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-25 23:06:26 +0100
commitf415f3e03e733e6110827d28470aae51bdaea844 (patch)
tree4378fd140b8cab1212568295fcff52da1a52a173 /lib/app.php
parent946a064fc6b57915c09026e0b02d0bed01a852e3 (diff)
downloadnextcloud-server-f415f3e03e733e6110827d28470aae51bdaea844.tar.gz
nextcloud-server-f415f3e03e733e6110827d28470aae51bdaea844.zip
return true once one owncloud version number is bigger at any position
Diffstat (limited to 'lib/app.php')
-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;
}
}