<?php
if (!defined('INSTALL_PROGRESS'))
	die("This file cannot be executed directly");

if (!isset($installer))
	throw new Exception("Install options are not defined");
/** @var $installer \Claromentis\Setup\SetupFacade */

$installer->GetPluginsRepository()->Remove('pages', 'Claromentis\Pages\PagesApplication');

$admin_panel = $installer->GetAdminPanelCreator();
$admin_panel->Delete('pages');
