From ae263da69ae484f36f70d9406bac8adbf06c3e44 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 25 Jul 2014 13:38:44 +0200 Subject: Also set the app version when updating from app store --- lib/private/app.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/private/app.php') diff --git a/lib/private/app.php b/lib/private/app.php index b61adc3fe3f..f48209aae85 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -1167,6 +1167,9 @@ class OC_App { self::setAppTypes($appId); + $version = \OC_App::getAppVersion($appId); + \OC_Appconfig::setValue($appId, 'installed_version', $version); + return true; } -- cgit v1.2.3