summaryrefslogtreecommitdiffstats
path: root/apps/contacts
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-15 17:40:34 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-16 01:46:16 +0200
commit001a47afb0767537defab828447179443d2985d5 (patch)
treeb282e5ecd28de3a7cfe9f5825870d7f1257f5060 /apps/contacts
parent3ffc96c3e96de8bb26729f510e6a35be5477c6c1 (diff)
downloadnextcloud-server-001a47afb0767537defab828447179443d2985d5.tar.gz
nextcloud-server-001a47afb0767537defab828447179443d2985d5.zip
Remove obsolete FIXMEs.
Diffstat (limited to 'apps/contacts')
-rw-r--r--apps/contacts/lib/vcard.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php
index e3b65605624..4f1ba5f08df 100644
--- a/apps/contacts/lib/vcard.php
+++ b/apps/contacts/lib/vcard.php
@@ -430,7 +430,6 @@ class OC_Contacts_VCard{
* @return boolean
*/
public static function delete($id){
- // FIXME: Add error checking.
OC_Hook::emit('OC_Contacts_VCard', 'pre_deleteVCard', array('aid' => null, 'id' => $id, 'uri' => null));
$stmt = OCP\DB::prepare( 'DELETE FROM *PREFIX*contacts_cards WHERE id = ?' );
try {
@@ -451,7 +450,6 @@ class OC_Contacts_VCard{
* @return boolean
*/
public static function deleteFromDAVData($aid,$uri){
- // FIXME: Add error checking. Deleting a card gives an Kontact/Akonadi error.
OC_Hook::emit('OC_Contacts_VCard', 'pre_deleteVCard', array('aid' => $aid, 'id' => null, 'uri' => $uri));
$stmt = OCP\DB::prepare( 'DELETE FROM *PREFIX*contacts_cards WHERE addressbookid = ? AND uri=?' );
try {