From 2b837c0355edeedd492173c3bc367b68f6365a3e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 9 Oct 2018 13:42:54 +0200 Subject: [PATCH] fix PHP Fatal error: Declaration of EGroupware\Api\CalDAV\Principals::delete(&$options, $id) must be compatible with EGroupware\Api\CalDAV\Handler::delete(&$options, $id, $user) --- api/src/CalDAV/Principals.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/src/CalDAV/Principals.php b/api/src/CalDAV/Principals.php index 96f2544413..df0a59aaad 100644 --- a/api/src/CalDAV/Principals.php +++ b/api/src/CalDAV/Principals.php @@ -1671,11 +1671,12 @@ class Principals extends Handler * * @param array &$options * @param int $id + * @param int $user account_id of collection owner * @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found') */ - function delete(&$options,$id) + function delete(&$options,$id,$user) { - unset($options, $id); // not used, but required by function signature + unset($options, $id, $user); // not used, but required by function signature return false; }