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:
authorblizzz <blizzz@arthur-schiwon.de>2022-10-04 10:53:45 +0300
committerGitHub <noreply@github.com>2022-10-04 10:53:45 +0300
commit029b303036686a6f5823ac2436e2060440d84ae2 (patch)
tree5026367b09035f490ba9939b27235f63f7f636ef
parentecb00c7e8c1ab3b85c5a2d84f9b598fb65e14f0e (diff)
parent3c349d5094bb0cffdac579321f6f88bea7527cf3 (diff)
Merge pull request #1171 from nextcloud/backport/1169/stable25v25.0.0rc5v25.0.0rc4v25.0.0rc3
[stable25] refresh cache on demand
-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);
}