Remove principal-collection-set response from here. Fix debug call.

This commit is contained in:
Andrew McMillan 2010-11-19 21:06:07 +13:00
parent 58eb6fa7c0
commit 73d852225f

View File

@ -249,7 +249,7 @@ class CalDAVPrincipal
$this->write_proxy_for = null;
$this->read_proxy_for = null;
dbg_error_log( 'principal', ' User: %s (%d) URL: %s, Home: %s, By Email: %d', $this->username, $this->user_no, $this->url, $this->by_email );
dbg_error_log( 'principal', ' User: %s (%d) URL: %s, Home: %s, By Email: %d', $this->username, $this->user_no, $this->path, $this->url, $this->by_email );
}
@ -628,10 +628,6 @@ class CalDAVPrincipal
$reply->DAVElement( $prop, 'owner', $reply->href( $this->principal_url ) );
break;
case 'DAV::principal-collection-set':
$reply->DAVElement( $prop, 'principal-collection-set', $reply->href( ConstructURL('/') ) );
break;
// Empty tag responses.
case 'DAV::alternate-URI-set':
$prop->NewElement( $reply->Tag($tag));