diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-09-16 12:44:48 +0200 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-09-16 12:44:48 +0200 |
commit | bbc89060d07322164e6f69f9b5c950a12cd16472 (patch) | |
tree | 55152a1b670fe2bf894a5a8622a8ebfb18d6ba74 /lib/Service | |
parent | 8ec26c5b08242390b9e685f87da2ea4030ea88a6 (diff) |
block PushService
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/PushService.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/PushService.php b/lib/Service/PushService.php index ba27646d..913fc6c4 100644 --- a/lib/Service/PushService.php +++ b/lib/Service/PushService.php @@ -82,7 +82,7 @@ class PushService { $this->miscService = $miscService; // FIX ME: nc18/push - if ($this->miscService->getNcVersion() >= 18) { + if ($this->miscService->getNcVersion() >= 19) { try { $this->pushManager = OC::$server->query(IPushManager::class); } catch (QueryException $e) { @@ -97,7 +97,7 @@ class PushService { */ public function onNewStream(string $streamId) { // FIXME: remove in nc18 - if ($this->miscService->getNcVersion() < 18) { + if ($this->miscService->getNcVersion() < 19) { return; } |