Skip to content

Commit

Permalink
AFAIK there is no RPC backend handling notifications, so disable them…
Browse files Browse the repository at this point in the history
… completely.
  • Loading branch information
yunosh committed Dec 17, 2014
1 parent 3026457 commit 2c47766
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions horde/rpc.php
Expand Up @@ -25,7 +25,7 @@
// call appInit() until we know which server we are requesting. We don't
// initialize the application until after we know the rpc server we want.
$input = $session_control = $cache_control = null;
$nocompress = $no_notification = false;
$nocompress = false;
$params = array();

/* Look at the Content-type of the request, if it is available, to try
Expand All @@ -40,7 +40,6 @@
$nocompress = true;
$session_control = 'none';
$cache_control = 'private';
$no_notification = true;
} elseif (!empty($_SERVER['PATH_INFO']) ||
in_array($_SERVER['REQUEST_METHOD'], array('DELETE', 'PROPFIND', 'PUT', 'OPTIONS', 'REPORT'))) {
$serverType = 'Webdav';
Expand Down Expand Up @@ -77,7 +76,7 @@
'nocompress' => $nocompress,
'session_control' => $session_control,
'session_cache_limiter' => $cache_control,
'nonotificationinit' => $no_notification
'nonotificationinit' => true
));

$request = $injector->getInstance('Horde_Controller_Request');
Expand Down

0 comments on commit 2c47766

Please sign in to comment.