Allow moving of existing cantacts between adressbooks

This commit is contained in:
Jörg Lehrke 2010-07-25 09:17:11 +00:00
parent c9520b6d64
commit 7b86ac1ef0

View File

@ -342,13 +342,11 @@ class addressbook_groupdav extends groupdav_handler
$contact['id'] = $oldContact['id'];
// dont allow the client to overwrite certain values
$contact['uid'] = $oldContact['uid'];
$contact['owner'] = $oldContact['owner'];
//$contact['owner'] = $oldContact['owner'];
$contact['private'] = $oldContact['private'];
}
else
{
$contact['owner'] = $user;
}
if ($this->http_if_match) $contact['etag'] = self::etag2value($this->http_if_match);