This is the whole code, just remove it:
//FB Slide Like Box function - endfunction ModifyWAPModSettings($return_config = false)
{
global $txt, $scripturl, $context, $settings, $sc, $modSettings;
$config_vars = array(
array('check', 'wap_shoutbox_enable'),
array('check', 'wap_toggle'),
array('check', 'wap_attach'),
array('check', 'wap_stats'),
array('check', 'wap_iphone'),
array('select', 'wap_width', array(
'100%' => $txt['100%'],
'280px' => $txt['280px'],
'320px' => $txt['320px'])),
array('select', 'wap_theme', array(
'default' => $txt['wap_default'],
'gray' => $txt['wap_gray'],
'red' => $txt['wap_red'],
'black' => $txt['wap_black'],
'green' => $txt['wap_green'])),
array('text', 'wap_footer'),
array('text', 'wap_sig'),
array('text', 'wap_shoutbox_url'),
array('text', 'wap_iphone_url'),
array('text', 'wap_logo_url'),
);
if ($return_config)
return $config_vars;
$context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=wapmod';
$context['settings_title'] = $txt['wapmods'];
// No removing this line you, dirty unwashed mod authors. :p
if (empty($config_vars))
{
$context['settings_save_dont_show'] = true;
$context['settings_message'] = '<div style="text-align: center">' . $txt['modification_no_misc_settings'] . '</div>';
return prepareDBSettingContext($config_vars);
}
// Saving?
if (isset($_GET['save']))
{
checkSession();
$save_vars = $config_vars;
saveDBSettings($save_vars);
redirectexit('action=admin;area=modsettings;sa=wapmod');
}
prepareDBSettingContext($config_vars);
}