String userName = _user.getName();
deleteUserFromDatabase(userName);
PreferencesProvider preferencesProvider = getPreferencesProvider();
if (preferencesProvider != null)
{
preferencesProvider.deletePreferences(userName);
}
deleted();
setState(State.DELETED);
}
catch (AccountNotFoundException e)