save updated version number of apps after updating

This commit is contained in:
Robin Appelman 2012-01-08 19:58:08 +01:00
parent de3032fd00
commit fbb126cdd9
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ class OC_App{
$currentVersion=$appInfo['version']; $currentVersion=$appInfo['version'];
if (version_compare($currentVersion, $installedVersion, '>')) { if (version_compare($currentVersion, $installedVersion, '>')) {
OC_App::updateApp($app); OC_App::updateApp($app);
OC_Appconfig::setValue($app,'installed_version',$appInfo['version']);
} }
} }
} }