Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-09-18 18:34:41 +0400
committerBart Visscher <bartv@thisnet.nl>2011-09-18 19:13:47 +0400
commit7c5e3890670948641dc715e05562aa420f846ff3 (patch)
treecd2528f0352a368138b4888d84d07c50684f083c /apps/calendar
parent6e980d419c0c93b606858b1a907818c5aa386524 (diff)
deleteUser function must be static
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/lib/hooks.php2
1 files changed, 1 insertions, 1 deletions
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) {