disabled NOT working addressbook-findshared report, which is only used in 10.6, but currently creates and error with 10.6 addressbook

This commit is contained in:
Ralf Becker 2011-11-14 11:54:59 +00:00
parent eceec44c78
commit 89fdaa7691

View File

@ -62,10 +62,11 @@ class groupdav_principals extends groupdav_handler
/*'expand-property' => array( /*'expand-property' => array(
// an other report calendarserver announces // an other report calendarserver announces
),*/ ),*/
/* seems only be used 'til OS X 10.6, no longer in 10.7
'addressbook-findshared' => array( 'addressbook-findshared' => array(
'ns' => groupdav::ADDRESSBOOKSERVER, 'ns' => groupdav::ADDRESSBOOKSERVER,
'method' => 'addressbook_findshared_report', 'method' => 'addressbook_findshared_report',
), ),*/
); );
/** /**
@ -163,6 +164,7 @@ class groupdav_principals extends groupdav_handler
* @param int $user account_id * @param int $user account_id
* @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found') * @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found')
*/ */
/* Seens only to work 'til OS X 10.6, no longer in 10.7 AND response seems NOT correct for 10.6
function addressbook_findshared_report($path,$options,&$files,$user) function addressbook_findshared_report($path,$options,&$files,$user)
{ {
error_log(__METHOD__."('$path', ".array2string($options).",, $user)"); error_log(__METHOD__."('$path', ".array2string($options).",, $user)");
@ -176,7 +178,7 @@ class groupdav_principals extends groupdav_handler
error_log(__METHOD__."() ".array2string($f)); error_log(__METHOD__."() ".array2string($f));
} }
return true; return true;
} }*/
/** /**
* Handle principal-property-search report * Handle principal-property-search report