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

github.com/nextcloud/circles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/CirclesManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CirclesManager.php b/lib/CirclesManager.php
index 6c92b896..6acbd69d 100644
--- a/lib/CirclesManager.php
+++ b/lib/CirclesManager.php
@@ -322,14 +322,14 @@ class CirclesManager {
* @throws InitiatorNotFoundException
* @throws RequestBuilderException
*/
- public function getCircles(?CircleProbe $probe = null): array {
+ public function getCircles(?CircleProbe $probe = null, bool $refreshCache = false): array {
if (is_null($probe)) {
$probe = new CircleProbe();
$probe->filterHiddenCircles()
->filterBackendCircles();
}
- return $this->circleService->getCircles($probe, true);
+ return $this->circleService->getCircles($probe, !$refreshCache);
}