Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -234,6 +234,7 @@ class _Service extends \IPS\Node\Model
|
||||
}
|
||||
}
|
||||
|
||||
$settingsToUpdate = array();
|
||||
foreach ( $values as $k => $v )
|
||||
{
|
||||
if( !in_array( $k, array( 'share_title', 'share_groups', 'share_autoshare' ) ) )
|
||||
@@ -247,14 +248,12 @@ class _Service extends \IPS\Node\Model
|
||||
$v = implode( ',', $v );
|
||||
}
|
||||
|
||||
\IPS\Db::i()->update( 'core_sys_conf_settings', array( 'conf_value' => $v ), array( 'conf_key=?', $k ) );
|
||||
\IPS\Settings::i()->$k = $v;
|
||||
|
||||
$settingsToUpdate[ $k ] = $v;
|
||||
unset( $values[ $k ] );
|
||||
}
|
||||
}
|
||||
|
||||
unset( \IPS\Data\Store::i()->settings );
|
||||
\IPS\Settings::i()->changeValues( $settingsToUpdate );
|
||||
|
||||
/* Remove prefix */
|
||||
$_values = $values;
|
||||
|
||||
Reference in new issue
Block a user