Vergleich inc/tasks/hourlycleanup.php - 1.6.6 - 1.6.12

  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 5297 2010-12-28 22:01:14Z Tomm $

 * $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);