From ebb368056fa9fce684bb43f52f3ccd3675cd69de Mon Sep 17 00:00:00 2001 From: "bugzilla%standard8.demon.co.uk" Date: Tue, 20 Sep 2005 19:04:21 +0000 Subject: [PATCH] Follow up to bug 307056. Now that we are not trying to edit ldap cards, return the correct error code. r/sr=bienvenu git-svn-id: svn://10.0.0.236/trunk@180657 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/addrbook/src/nsAbLDAPCard.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mozilla/mailnews/addrbook/src/nsAbLDAPCard.cpp b/mozilla/mailnews/addrbook/src/nsAbLDAPCard.cpp index 2abbe263374..3707aea13d5 100644 --- a/mozilla/mailnews/addrbook/src/nsAbLDAPCard.cpp +++ b/mozilla/mailnews/addrbook/src/nsAbLDAPCard.cpp @@ -48,10 +48,7 @@ nsAbLDAPCard::~nsAbLDAPCard() NS_IMETHODIMP nsAbLDAPCard::EditCardToDatabase(const char *aURI) { - // do nothing, you can't edit LDAP cards. - // XXX we shouldn't be getting here, but we are because - // the UI doesn't disable in this case. fix this later. - return NS_OK; + return NS_ERROR_NOT_IMPLEMENTED; }