Skip to content
Snippets Groups Projects
Commit de4a540c authored by Björn Schießle's avatar Björn Schießle
Browse files

Merge branch 'master' of gitorious.org:owncloud/owncloud

parents 7dc72a48 46e93168
No related branches found
No related tags found
No related merge requests found
......@@ -403,7 +403,7 @@ class OC_Contacts_VCard{
*/
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' => $uid));
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=?' );
$stmt->execute(array($aid,$uri));
OC_Contacts_Addressbook::touch($aid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment