View Single Post
  #9  
Old 27th August 2008, 16:10
Kotafi Kotafi is offline
Senior Member
 
Join Date: Jan 2008
Posts: 139
Smile
Quote:
Originally Posted by kp380lv View Post
Can you help me solve this announce problem too! Please:)

Regards!
find this in your cleanup.php

Code:
$deadtime -= $max_dead_torrent_time;
	sql_query("UPDATE torrents SET visible='no' WHERE visible='yes' AND last_action < FROM_UNIXTIME($deadtime)");
and change it to

Code:
$deadtime = $deadtime - $max_dead_torrent_time;
	sql_query("UPDATE torrents SET visible='no' WHERE visible='yes' AND last_action < $deadtime");
I hope it works for you ;)

All credits to goes to djlee for sorting this out. :)

Last edited by Kotafi; 27th August 2008 at 19:11. Reason: Credits added
Reply With Quote