1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Added TODOs

This commit is contained in:
Thomas Tanghus 2013-04-03 16:55:56 +02:00
parent 566be4bb67
commit 1b927cb2cb

View File

@ -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;
} }