protected function uninstallExtension()
    {
        $extensionEntity = $this->getExtensionEntity();

        $this->executeAction(ExtensionManager::UNINSTALL, array(
                'id' => $extensionEntity->get('id'),
                'skipSystemRebuild' => true,
                'skipAfterScript' => true,
            )
        );
    }