Vergleich member.php - 1.6.11 - 1.6.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1420Zeile 1420
	if($mybb->user['uid'])
{
$time = TIME_NOW;

	if($mybb->user['uid'])
{
$time = TIME_NOW;

		$lastvisit = array(
"lastactive" => $time-900,
"lastvisit" => $time,
);
$db->update_query("users", $lastvisit, "uid='".$mybb->user['uid']."'");

		// Run this after the shutdown query from session system
$db->shutdown_query("UPDATE ".TABLE_PREFIX."users SET lastvisit='{$time}', lastactive='{$time}' WHERE uid='{$mybb->user['uid']}'");




		$db->delete_query("sessions", "sid='".$session->sid."'");
}
$plugins->run_hooks("member_logout_end");

		$db->delete_query("sessions", "sid='".$session->sid."'");
}
$plugins->run_hooks("member_logout_end");