Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -0,0 +1,27 @@
|
||||
<?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
|
||||
* @since 16 Jul 2019
|
||||
*/
|
||||
|
||||
$options = array();
|
||||
require "../upgrade/lang.php";
|
||||
|
||||
/* Show us what is deprecated */
|
||||
if ( \IPS\CACHE_METHOD != 'None' and \IPS\CACHE_METHOD != 'Redis')
|
||||
{
|
||||
$options[] = new \IPS\Helpers\Form\Custom( '106000_deprecated', null, FALSE, array('getHtml' => function ( $element ) {
|
||||
return \IPS\Theme::i()->getTemplate( 'global' )->deprecated460();
|
||||
}), function ( $val ) {
|
||||
}, NULL, NULL, '106000_deprecated' );
|
||||
}
|
||||
|
||||
/* Use new rules or keep old ones? */
|
||||
$options[] = new \IPS\Helpers\Form\Radio( '106000_rule_option', 'new', TRUE, array( 'options' => array( 'new' => '106000_rule_option_new', 'old' => '106000_rule_option_old' ) ) );
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user