 ---#
 
 ---# Adding new "DEFAULTMaxListItems" setting
-INSERT INTO {$db_prefix}settings (variable, value) VALUES ('DEFAULTMaxListItems', '15');
+INSERT INTO {$db_prefix}settings (variable, value) VALUES ('defaultMaxListItems', '15');
 ---#
 
 ---# Adding new "loginHistoryDays" setting

		SELECT value
		FROM {$db_prefix}themes
		WHERE variable='allow_no_censored'
		AND id_theme = 1 OR id_theme = '$modSettings[theme_DEFAULT]'
	");

	// Is it set for either "DEFAULT" or the one they've set as DEFAULT?
	while ($row = $smcFunc['db_fetch_assoc']($request))
	{
		if ($row['value'] == 1)


	$smcFunc['db_query']('', '
		DELETE FROM {db_prefix}permissions
		WHERE id_group = {int:guests}
		AND permission IN ({array_string:illegal_perms})',
		array(
			'guests' => -1,
