kopia lustrzana https://github.com/nextcloud/social
block PushService
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/741/head
rodzic
8ec26c5b08
commit
bbc89060d0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue