summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-04-14 19:01:32 +0200
committerRobin Appelman <icewind@owncloud.com>2012-04-14 19:01:59 +0200
commit4410f15dd8259ceb0cfda7cbf6b435d3ecfd239a (patch)
tree974383e4321fba76d8b3c8d08f520f615b42d514 /lib/app.php
parentfbb314ef4b980500af270c1a58577f32a5de8b48 (diff)
downloadnextcloud-server-4410f15dd8259ceb0cfda7cbf6b435d3ecfd239a.tar.gz
nextcloud-server-4410f15dd8259ceb0cfda7cbf6b435d3ecfd239a.zip
don't rely on the old version in info.xml anymore
Diffstat (limited to 'lib/app.php')
-rwxr-xr-xlib/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.php b/lib/app.php
index 5fccf1fe68f..1c4a752d8da 100755
--- a/lib/app.php
+++ b/lib/app.php
@@ -482,7 +482,7 @@ class OC_App{
if ($currentVersion) {
if (version_compare($currentVersion, $installedVersion, '>')) {
OC_App::updateApp($app);
- OC_Appconfig::setValue($app,'installed_version',$appInfo['version']);
+ OC_Appconfig::setValue($app,'installed_version',getAppVersion($app));
}
}
}