From b41d35a0ef4b46eb2bdd5490764d071394136a12 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 16 Jul 2020 14:49:06 +0200 Subject: [PATCH] fix not existing Api\Json\Response::isJSONRequest(), use Api\Json\Request::isJSONRequest() --- calendar/inc/class.calendar_uilist.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index dec2fd0e5f..1026c0b638 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -750,7 +750,7 @@ class calendar_uilist extends calendar_ui { $success++; - if(Api\Json\Response::isJSONRequest()) + if(Api\Json\Request::isJSONRequest()) { Api\Json\Response::get()->call('egw.dataStoreUID','calendar::'.$id,$this->to_client($this->bo->read($id,$recur_date))); Api\Json\Response::get()->call('egw.refresh','','calendar',$id,'edit'); @@ -774,7 +774,7 @@ class calendar_uilist extends calendar_ui if ($this->bo->set_status($event,$GLOBALS['egw_info']['user']['account_id'],$new_status,$recur_date, false,true,$skip_notification)) { - if(Api\Json\Response::isJSONRequest()) + if(Api\Json\Request::isJSONRequest()) { Api\Json\Response::get()->call('egw.dataStoreUID','calendar::'.$id,$this->to_client($this->bo->read($id,$recur_date))); }