From bbc89060d07322164e6f69f9b5c950a12cd16472 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Mon, 16 Sep 2019 12:44:48 +0200 Subject: [PATCH] block PushService Signed-off-by: Maxence Lange --- lib/Service/PushService.php | 4 ++-- 1 file 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; }