Seditio Source
Root |
./othercms/ips_4.3.4/applications/nexus/setup/upg_40000/options.php
<?php
/**
 * @brief        Upgrader: Custom Upgrade Options
 * @author        <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
 * @copyright    (c) Invision Power Services, Inc.
 * @license        https://www.invisioncommunity.com/legal/standards/
 * @package        Invision Community
 * @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' );
}