deleteUser function must be static
This commit is contained in:
parent
6e980d419c
commit
7c5e389067
|
@ -29,7 +29,7 @@ class OC_Calendar_Hooks{
|
|||
* @param paramters parameters from postDeleteUser-Hook
|
||||
* @return array
|
||||
*/
|
||||
public function deleteUser($parameters) {
|
||||
public static function deleteUser($parameters) {
|
||||
$calendars = OC_Calendar_Calendar::allCalendars($parameters['uid']);
|
||||
|
||||
foreach($calendars as $calendar) {
|
||||
|
|
Loading…
Reference in New Issue