Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -325,7 +325,7 @@ class _Upgrade
|
||||
$transFee = array();
|
||||
$transFee[ \IPS\Settings::i()->nexus_currency ] = array( 'amount' => \IPS\Settings::i()->idm_nexus_transfee, 'currency' => \IPS\Settings::i()->nexus_currency );
|
||||
|
||||
\IPS\Db::i()->update( 'core_sys_conf_settings', array( 'conf_value' => json_encode( $transFee ) ), array( 'conf_key=?', 'idm_nexus_transfee' ) );
|
||||
\IPS\Settings::i()->changeValues( array( 'idm_nexus_transfee' => json_encode( $transFee ) ) );
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
@@ -425,7 +425,6 @@ class _Upgrade
|
||||
\IPS\Lang::saveCustom( 'nexus', 'nexus_tax_explain_val', \IPS\Text\Parser::parseStatic( \IPS\Settings::i()->nexus_tax_explain, TRUE, NULL, NULL, TRUE, TRUE, TRUE ) );
|
||||
|
||||
\IPS\Db::i()->delete( 'core_sys_conf_settings', "conf_key IN( 'network_status_text_val', 'nexus_com_rules_val', 'nexus_tax_explain_val', 'nexus_ca_home' )" );
|
||||
unset( \IPS\Data\Store::i()->settings );
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
@@ -593,8 +592,10 @@ class _Upgrade
|
||||
{
|
||||
\IPS\Lang::saveCustom( 'nexus', "nexus_package_{$row['p_id']}", $row['p_name'] );
|
||||
\IPS\Lang::saveCustom( 'nexus', "nexus_package_{$row['p_id']}_assoc", $row['p_assoc_error'] );
|
||||
\IPS\Lang::saveCustom( 'nexus', "nexus_package_{$row['p_id']}_desc", \IPS\Text\Parser::parseStatic( $row['p_desc'], TRUE, NULL, NULL, TRUE, TRUE, TRUE ) );
|
||||
\IPS\Lang::saveCustom( 'nexus', "nexus_package_{$row['p_id']}_page", \IPS\Text\Parser::parseStatic( $row['p_page'], TRUE, NULL, NULL, TRUE, TRUE, TRUE ) );
|
||||
|
||||
/* Previously, we were passing these values through \IPS\Text\LegacyParser::parseStatic(), however this is *also* done as a part of rebuildNonContentPosts for nexus_Admin, so they have been removed from here */
|
||||
\IPS\Lang::saveCustom( 'nexus', "nexus_package_{$row['p_id']}_desc", $row['p_desc'] );
|
||||
\IPS\Lang::saveCustom( 'nexus', "nexus_package_{$row['p_id']}_page", $row['p_page'] );
|
||||
|
||||
$renewOptions = \unserialize( $row['p_renew_options'] );
|
||||
if( is_array( $renewOptions ) AND count( $renewOptions ) )
|
||||
|
||||
Reference in new issue
Block a user