<?php
/**
 * @brief		Upgrader: Custom Upgrade Options
 * @subpackage	Nexus
 * @since		5 Jun 2014
 */

$options = array();

if ( \IPS\Db::i()->select( 'COUNT(*)', 'nexus_support_staff' )->first() )
{
	$options[] = new \IPS\Helpers\Form\Custom( '40000_nexus_staff', null, FALSE, array( 'getHtml' => function( $element ) {
		return "";
	} ), function( $val ) {}, NULL, NULL, '40000_nexus_staff' );
}

if ( \IPS\Db::i()->select( 'COUNT(*)', 'nexus_packages', "p_module<>'' AND p_module IS NOT NULL" )->first() )
{
	$options[] = new \IPS\Helpers\Form\Custom( '40000_nexus_modules', null, FALSE, array( 'getHtml' => function( $element ) {
		return "";
	} ), function( $val ) {}, NULL, NULL, '40000_nexus_modules' );
}