From 83e350958cb2c173b7211a6a1ab32ee1d68ea671 Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 1 Feb 2024 10:32:18 +0200 Subject: [PATCH] Fix Error: Call to undefined method calendar_bo::update_requested() --- calendar/inc/class.calendar_boupdate.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 2f1cdae6ac..9b2d3c05cb 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -767,9 +767,9 @@ class calendar_boupdate extends calendar_bo $msg_type = MSG_DELETED; break; } - static $calendar_bo=null; - if (!isset($calendar_bo)) $calendar_bo = new calendar_bo(); - $ret = $calendar_bo->update_requested($account_id, $prefs, $msg_type, array(), array(), $role); + static $calendar_boupdate=null; + if (!isset($calendar_boupdate)) $calendar_boupdate = new calendar_boupdate(); + $ret = $calendar_boupdate->update_requested($account_id, $prefs, $msg_type, array(), array(), $role); //error_log(__METHOD__."('$user_or_email', '$ical_method', '$role') account_id=$account_id --> updated_requested returned ".array2string($ret)); return $ret; }