summaryrefslogtreecommitdiffstats
path: root/lib/migrate.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/migrate.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/migrate.php')
-rw-r--r--lib/migrate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/migrate.php b/lib/migrate.php
index dfc34948962..f46d860e806 100644
--- a/lib/migrate.php
+++ b/lib/migrate.php
@@ -434,7 +434,7 @@ class OC_Migrate{
// Now add some app info the the return array
$appinfo = OC_App::getAppInfo( $provider->getID() );
- $return['apps'][$provider->getID()]['version'] = $appinfo['version'];
+ $return['apps'][$provider->getID()]['version'] = OC_App::getAppVersion($provider->getID());
}