From 7c5e3890670948641dc715e05562aa420f846ff3 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Sun, 18 Sep 2011 16:34:41 +0200 Subject: deleteUser function must be static --- apps/calendar/lib/hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/calendar') diff --git a/apps/calendar/lib/hooks.php b/apps/calendar/lib/hooks.php index 5c446102b22..330d938cf79 100644 --- a/apps/calendar/lib/hooks.php +++ b/apps/calendar/lib/hooks.php @@ -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) { -- cgit v1.2.3