diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-12-15 22:04:03 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-12-15 22:04:03 +0100 |
commit | 245501fb0c2aedd7b332a1c6978dac604992069c (patch) | |
tree | 869d9d3ae297637904d3e53d1cdcda29c33ed729 /settings/Application.php | |
parent | ee9f46b13f0f7cf440233a67b823a4f5218b0b21 (diff) | |
download | nextcloud-server-245501fb0c2aedd7b332a1c6978dac604992069c.tar.gz nextcloud-server-245501fb0c2aedd7b332a1c6978dac604992069c.zip |
Clear appstore cache on version upgrade
* Add version to cached json
* Compare version
* Updated calls
* Updated tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/Application.php')
-rw-r--r-- | settings/Application.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/Application.php b/settings/Application.php index d907cd666fb..44747c2f681 100644 --- a/settings/Application.php +++ b/settings/Application.php @@ -106,7 +106,8 @@ class Application extends App { return new CategoryFetcher( $server->getAppDataDir('appstore'), $server->getHTTPClientService(), - $server->query(TimeFactory::class) + $server->query(TimeFactory::class), + $server->getConfig() ); }); } |