config = $config; $this->manager = $manager; } public function getName(): string { return 'Clear access cache of projects'; } private function shouldRun(): bool { $versionFromBeforeUpdate = $this->config->getSystemValueString('version', '0.0.0.0'); return version_compare($versionFromBeforeUpdate, '17.0.0.3', '<='); } public function run(IOutput $output): void { if ($this->shouldRun()) { $this->manager->invalidateAccessCacheForAllCollections(); } } } -itip-broker Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Authentication/Events/RemoteWipeStartedTest.php
blob: fc297f7c08746bc7b3e20cd46a8934ee73e2c41d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23