mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 20:44:28 +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
cc22e89242
commit
109117316c
@ -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