From 140d7498e8650a71d29daf49f00f61f8af2c2b0f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 21 Jan 2013 08:14:01 +0000 Subject: [PATCH] added missing, but not used, parameter --- phpgwapi/inc/class.groupdav_principals.inc.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.groupdav_principals.inc.php b/phpgwapi/inc/class.groupdav_principals.inc.php index afa5ba15c5..1cbedac454 100644 --- a/phpgwapi/inc/class.groupdav_principals.inc.php +++ b/phpgwapi/inc/class.groupdav_principals.inc.php @@ -1706,14 +1706,15 @@ class groupdav_principals extends groupdav_handler } /** - * Return priviledges for current user, default is read and read-current-user-privilege-set + * Return privileges for current user, default is read and read-current-user-privilege-set * - * Priviledges are for the collection, not the resources / entries! + * Privileges are for the collection, not the resources / entries! * + * @param string $path path of collection * @param int $user=null owner of the collection, default current user * @return array with privileges */ - public function current_user_privileges($user=null) + public function current_user_privileges($path, $user=null) { return array('read', 'read-current-user-privilege-set'); }