mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Follow up to bug 307056. Now that we are not trying to edit ldap cards, return the correct error code. r/sr=bienvenu
This commit is contained in:
parent
7d1e6d2e8f
commit
bdd344257a
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user