Vergleich inc/tasks/hourlycleanup.php - 1.6.0 - 1.6.18

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: hourlycleanup.php 5016 2010-06-12 00:24:02Z RyanGordon $

 * $Id$

 */

function task_hourlycleanup($task)

 */

function task_hourlycleanup($task)

Zeile 24Zeile 24
	$db->delete_query("searchlog", "dateline < '{$cut}'");

// Delete old captcha images

	$db->delete_query("searchlog", "dateline < '{$cut}'");

// Delete old captcha images

	$cut = TIME_NOW-(60*60*24*7);

	$cut = TIME_NOW-(60*60*24);

	$db->delete_query("captcha", "dateline < '{$cut}'");

add_task_log($task, $lang->task_hourlycleanup_ran);

	$db->delete_query("captcha", "dateline < '{$cut}'");

add_task_log($task, $lang->task_hourlycleanup_ran);