Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/678/head
Maxence Lange 2019-08-22 11:39:41 -01:00
rodzic 1efbd581ec
commit edd21b7bbf
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() >= 17) {
if ($this->miscService->getNcVersion() >= 18) {
try {
$this->pushManager = OC::$server->query(IPushManager::class);
} catch (QueryException $e) {
@ -100,7 +100,7 @@ class PushService {
*/
public function onNewStream(string $streamId) {
// FIXME: remove in nc18
if ($this->miscService->getNcVersion() < 17) {
if ($this->miscService->getNcVersion() < 18) {
return;
}