diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-07-25 13:38:44 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-08-04 13:41:05 +0200 |
commit | ae263da69ae484f36f70d9406bac8adbf06c3e44 (patch) | |
tree | 99174be65247b0e6309100950c890da7c5829cb5 /lib/private/app.php | |
parent | 318498356595106942c7a481caba771da7b8b5ed (diff) | |
download | nextcloud-server-ae263da69ae484f36f70d9406bac8adbf06c3e44.tar.gz nextcloud-server-ae263da69ae484f36f70d9406bac8adbf06c3e44.zip |
Also set the app version when updating from app store
Diffstat (limited to 'lib/private/app.php')
-rw-r--r-- | lib/private/app.php | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |