deleteUser function must be static

This commit is contained in:
Bart Visscher 2011-09-18 16:34:41 +02:00
parent 6e980d419c
commit 7c5e389067
1 changed files with 1 additions and 1 deletions

View File

@ -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) {