mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Added TODOs
This commit is contained in:
parent
566be4bb67
commit
1b927cb2cb
@ -402,6 +402,7 @@ class Contact extends VObject\VCard implements IPIMObject {
|
|||||||
* @return string new checksum
|
* @return string new checksum
|
||||||
*/
|
*/
|
||||||
public function setPropertyByChecksum($checksum, $name, $value, $parameters=array()) {
|
public function setPropertyByChecksum($checksum, $name, $value, $parameters=array()) {
|
||||||
|
// FIXME: Change the debug and bailOut calls
|
||||||
if($checksum === 'new') {
|
if($checksum === 'new') {
|
||||||
$property = Property::create($name);
|
$property = Property::create($name);
|
||||||
$this->add($property);
|
$this->add($property);
|
||||||
@ -433,6 +434,7 @@ class Contact extends VObject\VCard implements IPIMObject {
|
|||||||
$property->setValue($value);
|
$property->setValue($value);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
\OCP\Util::writeLog('contacts', __METHOD__.' adding: '.$name. ' ' . $value, \OCP\Util::DEBUG);
|
||||||
$property->setValue($value);
|
$property->setValue($value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user