diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-15 22:27:47 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-15 22:27:47 +0200 |
commit | c8cb870a27d1c2aa8ce1180114101cdcbccdf95b (patch) | |
tree | 3c5fa692d03337e63b66541cfa4e84b104fbb982 /lib/installer.php | |
parent | e5e7d4a73a9481c3d118d04c561afea5d437290c (diff) | |
parent | 12818093007d5bdce5519b5015e2a0748c98e24d (diff) | |
download | nextcloud-server-c8cb870a27d1c2aa8ce1180114101cdcbccdf95b.tar.gz nextcloud-server-c8cb870a27d1c2aa8ce1180114101cdcbccdf95b.zip |
Merge branch 'master' into oc_error
Diffstat (limited to 'lib/installer.php')
-rw-r--r-- | lib/installer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/installer.php b/lib/installer.php index 38e17130e3c..6edf4ce1b74 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -175,7 +175,7 @@ class OC_Installer{ } //set the installed version - OC_Appconfig::setValue($info['id'],'installed_version',$info['version']); + OC_Appconfig::setValue($info['id'],'installed_version',OC_App::getAppVersion($info['id'])); OC_Appconfig::setValue($info['id'],'enabled','no'); return $info['id']; } @@ -297,7 +297,7 @@ class OC_Installer{ include(OC::$APPSROOT."/apps/$app/appinfo/install.php"); } $info=OC_App::getAppInfo($app); - OC_Appconfig::setValue($app,'installed_version',$info['version']); + OC_Appconfig::setValue($app,'installed_version',OC_App::getAppVersion($app)); return $info; } } |