<?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
 */
$plugins = $installer->GetPluginsRepository();
$plugins->Add('quiz', 'Claromentis\Quiz\Plugin');

$panels = $installer->GetAdminPanelCreator();
$panels->Enable('quiz');
$panels->Enable('polls-surveys');
