mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Comments only.
This commit is contained in:
parent
3300404912
commit
a38c0e33cb
@ -365,7 +365,6 @@ EOSQL;
|
||||
$this->collection_type = 'email';
|
||||
$this->collection_path = $this->path;
|
||||
$this->_is_principal = true;
|
||||
// $this->by_email = true;
|
||||
}
|
||||
else if ( preg_match( '#^(/[^/]+)/?$#', $this->path, $matches) || preg_match( '#^(/principals/[^/]+/[^/]+)/?$#', $this->path, $matches) ) {
|
||||
$this->collection_id = -1;
|
||||
@ -858,6 +857,7 @@ EOSQL;
|
||||
function CoerceContentType() {
|
||||
if ( isset($this->content_type) ) {
|
||||
$type = explode( '/', $this->content_type, 2);
|
||||
/** @todo: Perhaps we should look at the target collection type, also. */
|
||||
if ( $type[0] == 'text' ) return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user