]> source.dussan.org Git - nextcloud-server.git/commitdiff
save updated version number of apps after updating
authorRobin Appelman <icewind1991@gmail.com>
Sun, 8 Jan 2012 18:58:08 +0000 (19:58 +0100)
committerRobin Appelman <icewind1991@gmail.com>
Sun, 8 Jan 2012 18:58:20 +0000 (19:58 +0100)
lib/app.php

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