public void deleteVCard(String username) {
        if (provider.isReadOnly()) {
            throw new UnsupportedOperationException("VCard provider is read-only.");
        }
        Element oldVCard = getOrLoadVCard(username);
        if (oldVCard != null) {
            vcardCache.remove(username);
            // Delete the property from the DB if it was present in memory
            provider.deleteVCard(username);
            // Alert listeners that a vCard has been deleted
            VCardEventDispatcher.dispatchVCardDeleted(username, oldVCard);
        }
    }
Deletes the user's vCard from the user account.

@param username The username of the user to delete his vCard.
@throws UnsupportedOperationException If the provider is read-only and the data
        cannot be deleted, this exception is thrown
xmppserver/src/main/java/org/jivesoftware/openfire/vcard/VCardManager.java