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 /lib/private/Server.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 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index b2fa9691b16..969e5a25b9b 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -360,7 +360,8 @@ class Server extends ServerContainer implements IServerContainer { return new CategoryFetcher( $this->getAppDataDir('appstore'), $this->getHTTPClientService(), - $this->query(TimeFactory::class) + $this->query(TimeFactory::class), + $this->getConfig() ); }); $this->registerService('UserCache', function ($c) { |