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:
Ralf Becker 2018-10-09 13:42:54 +02:00
parent cc22e89242
commit 109117316c

View File

@ -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;
}