Vergleich inc/tasks/dailycleanup.php - 1.6.9 - 1.6.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 17Zeile 17
	
// Clear out sessions older than 24h
$cut = TIME_NOW-60*60*24;

	
// Clear out sessions older than 24h
$cut = TIME_NOW-60*60*24;

	$db->delete_query("sessions", "uid='0' AND time < '{$cut}'");

	$db->delete_query("sessions", "time < '{$cut}'");


// Delete old read topics
if($mybb->settings['threadreadcut'] > 0)


// Delete old read topics
if($mybb->settings['threadreadcut'] > 0)