Vergleich inc/tasks/hourlycleanup.php - 1.6.3 - 1.6.17

  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 5380 2011-02-21 12:04:43Z 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);