Vergleich inc/datahandlers/warnings.php - 1.8.6 - 1.8.8

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 362Zeile 362
	*/
function update_user($method='insert')
{

	*/
function update_user($method='insert')
{

		global $db, $mybb, $lang;

		global $db, $mybb, $lang, $cache, $groupscache;


if($mybb->settings['maxwarningpoints'] < 1)
{
$mybb->settings['maxwarningpoints'] = 10;


if($mybb->settings['maxwarningpoints'] < 1)
{
$mybb->settings['maxwarningpoints'] = 10;

 
		}

if(!is_array($groupscache))
{
$groupscache = $cache->read("usergroups");

		}

$warning = &$this->data;

		}

$warning = &$this->data;