summaryrefslogtreecommitdiffstats
path: root/lib/Service
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-09-16 12:44:48 +0200
committerMaxence Lange <maxence@artificial-owl.com>2019-09-16 12:44:48 +0200
commitbbc89060d07322164e6f69f9b5c950a12cd16472 (patch)
tree55152a1b670fe2bf894a5a8622a8ebfb18d6ba74 /lib/Service
parent8ec26c5b08242390b9e685f87da2ea4030ea88a6 (diff)
block PushService
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/PushService.php4
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;
}