From 61660c068a1d24f3723e4f82573143e2a4d884e8 Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Fri, 21 Oct 2011 21:49:34 +0200
Subject: [PATCH] Fix function name error in contacts app

---
 apps/contacts/lib/vcard.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php
index 9f15cf4bc3..74bc0f92f1 100644
--- a/apps/contacts/lib/vcard.php
+++ b/apps/contacts/lib/vcard.php
@@ -231,7 +231,7 @@ class OC_Contacts_VCard{
 	 * @param string $uri the uri of the card
 	 * @return boolean
 	 */
-	public static function deleteCardFromDAVData($aid,$uri){
+	public static function deleteFromDAVData($aid,$uri){
 		$stmt = OC_DB::prepare( 'DELETE FROM *PREFIX*contacts_cards WHERE addressbookid = ? AND uri=?' );
 		$stmt->execute(array($aid,$uri));
 
-- 
GitLab