We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201f931 commit 21c6baeCopy full SHA for 21c6bae
lib/Service/GeophotoService.php
@@ -74,11 +74,11 @@ public function __construct(
74
* @return bool
75
*/
76
public function clearCache(string $userId = ''): bool {
77
- $a = $this->photosCache->clear($userId);
78
- $b = $this->timeOrderedPointSetsCache->clear($userId);
79
- $c = $this->backgroundJobCache->clear('recentlyAdded:'.$userId);
80
- $d = $this->backgroundJobCache->clear('recentlyUpdated:'.$userId);
81
- return $a and $b and $c and $d;
+ $this->photosCache->clear($userId);
+ $this->timeOrderedPointSetsCache->clear($userId);
+ $this->backgroundJobCache->clear('recentlyAdded:'.$userId);
+ $this->backgroundJobCache->clear('recentlyUpdated:'.$userId);
+ return true;
82
}
83
84
/**
0 commit comments