block PushService

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
feature/noid/sql-rewrite-0929
Maxence Lange 2019-09-16 12:44:48 +02:00
rodzic 8ec26c5b08
commit bbc89060d0
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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;
}