diff options
author | Joas Schilling <coding@schilljs.com> | 2016-12-14 10:45:27 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-12-14 10:45:27 +0100 |
commit | 77b6b7b23e68878038bab39839b48f1083f6e8b1 (patch) | |
tree | 97dd80b19b6832d3a968909b987dcadd77cea5a0 /lib/private/App | |
parent | 4f32a8b6ef6e575c71882ce1d1275467845d307f (diff) | |
download | nextcloud-server-77b6b7b23e68878038bab39839b48f1083f6e8b1.tar.gz nextcloud-server-77b6b7b23e68878038bab39839b48f1083f6e8b1.zip |
Use the mocked config version
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/App')
-rw-r--r-- | lib/private/App/AppStore/Fetcher/AppFetcher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php index bbe75c723d5..b8efdef4336 100644 --- a/lib/private/App/AppStore/Fetcher/AppFetcher.php +++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php @@ -50,7 +50,7 @@ class AppFetcher extends Fetcher { $this->fileName = 'apps.json'; $this->config = $config; - $versionArray = \OC_Util::getVersion(); + $versionArray = explode('.', $this->config->getSystemValue('version')); $this->endpointUrl = sprintf( 'https://apps.nextcloud.com/api/v1/platform/%d.%d.%d/apps.json', $versionArray[0], |