Fix Java desktop notifications, thanks to Stefan Werfling

This commit is contained in:
Hadi Nategh 2017-11-30 12:19:21 +01:00
parent 08d2b52d2a
commit bb35df1cc1

View File

@ -76,7 +76,7 @@ class notifications_jdesk_ajax {
*/
public function __construct()
{
$this->response = new Api\Json\Response();
$this->response = Api\Json\Response::get();
$this->recipient = (object)$GLOBALS['egw']->accounts->read($GLOBALS['egw_info']['user']['account_id']);