if (isUninstalled)
{
accountList.ensureAccountRemoved(accountID);
AccountRegWizardContainerImpl wizardContainer
= (AccountRegWizardContainerImpl) GuiActivator
<BUG>.getUIService().getAccountRegWizardContainer();
AccountRegistrationWizard wizard
= wizardContainer.getProtocolWizard(
account.getProtocolProvider());
wizard.accountRemoved(account.getProtocolProvider());
</BUG>
}

if (isUninstalled)
{
accountList.ensureAccountRemoved(accountID);
AccountRegWizardContainerImpl wizardContainer
= (AccountRegWizardContainerImpl) GuiActivator
.getUIService().getAccountRegWizardContainer();
ProtocolProviderService protocolProvider =
account.getProtocolProvider();
AccountRegistrationWizard wizard =
wizardContainer.getProtocolWizard(protocolProvider);
if (wizard != null)
wizard.accountRemoved(protocolProvider);
