mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +01:00
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)
This commit is contained in:
parent
eff2444deb
commit
2b837c0355
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user