Vergleich admin/modules/config/settings.php - 1.8.10 - 1.8.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 944Zeile 944

while($multisetting = $db->fetch_array($query))
{


while($multisetting = $db->fetch_array($query))
{

 
			$options = array();


			if(substr($multisetting['optionscode'], 0, 8) == 'checkbox')
{
$checkbox_settings[] = $multisetting['name'];

			if(substr($multisetting['optionscode'], 0, 8) == 'checkbox')
{
$checkbox_settings[] = $multisetting['name'];

Zeile 981Zeile 983
					}

if(isset($options['max']))

					}

if(isset($options['max']))

					{

					{

						$value = min($value, $options['max']);
}


						$value = min($value, $options['max']);
}


Zeile 1088Zeile 1090
			$cache->update_statistics();
}


			$cache->update_statistics();
}


		if(isset($mybb->input['upsetting']['statslimit']) && $mybb->input['upsetting']['statslimit'] != $mybb->settings['statstopreferrer'])





		$statslimit = $mybb->settings['statslimit'];

rebuild_settings();

if(isset($mybb->input['upsetting']['statslimit']) && $mybb->input['upsetting']['statslimit'] != $statslimit)

		{
$cache->update_most_replied_threads();
$cache->update_most_viewed_threads();
}

		{
$cache->update_most_replied_threads();
$cache->update_most_viewed_threads();
}


rebuild_settings();

 

$plugins->run_hooks("admin_config_settings_change_commit");



$plugins->run_hooks("admin_config_settings_change_commit");