mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
10 lines
192 B
PHP
10 lines
192 B
PHP
|
<?php
|
||
|
|
||
|
if (!defined('BB_ROOT')) die(basename(__FILE__));
|
||
|
|
||
|
$search_results_expire = TIMENOW - 3*3600;
|
||
|
|
||
|
DB()->query("
|
||
|
DELETE FROM ". BB_SEARCH ."
|
||
|
WHERE search_time < $search_results_expire
|
||
|
");
|