Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-26 02:06:26 +0400
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-26 02:06:26 +0400
commitf415f3e03e733e6110827d28470aae51bdaea844 (patch)
tree4378fd140b8cab1212568295fcff52da1a52a173 /lib/app.php
parent946a064fc6b57915c09026e0b02d0bed01a852e3 (diff)
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;
}
}