summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-04-06 12:24:41 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-04-18 19:18:34 +0200
commita0028a2a5f7f4df3f38eef2ba1a4552ff90f0269 (patch)
tree42966d21d015453122d0184e8d106290ce85213f /lib/public
parentb2a87f84c42ce1f7f6ad427a86a47921d68c582f (diff)
downloadnextcloud-server-a0028a2a5f7f4df3f38eef2ba1a4552ff90f0269.tar.gz
nextcloud-server-a0028a2a5f7f4df3f38eef2ba1a4552ff90f0269.zip
Allow to skip retrieving from cache in the DiscoveryService
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/OCS/IDiscoveryService.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/OCS/IDiscoveryService.php b/lib/public/OCS/IDiscoveryService.php
index 9a86e2a4410..704840cf7b5 100644
--- a/lib/public/OCS/IDiscoveryService.php
+++ b/lib/public/OCS/IDiscoveryService.php
@@ -44,8 +44,9 @@ interface IDiscoveryService {
*
* @param string $remote
* @param string $service the service you want to discover
+ * @param bool $skipCache We won't check if the data is in the cache. This is usefull if a background job is updating the status
* @return array
*/
- public function discover(string $remote, string $service): array;
+ public function discover(string $remote, string $service, bool $skipCache = false): array;
}