Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-12-16 00:04:03 +0300
committerJoas Schilling <coding@schilljs.com>2017-03-08 11:47:19 +0300
commitbae5d4acfe92afb0ba2cb62c43d5e44b5d8d45d5 (patch)
treea3b1c35dba8258c9589bc35e1a024db328b644e3 /settings/Application.php
parentd2687a0f1baf54895d54bd708c1f491700ccb5f8 (diff)
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.php3
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()
);
});
}