www.gusucode.com > 高端企业门户+论坛网站源码程序 > 整站安装/整站源码/source/include/cron/cron_follow_daily.php
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: cron_follow_daily.php 25889 2011-11-24 09:52:20Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $removetime = TIMESTAMP - $_G['setting']['followretainday'] * 86400; foreach(C::t('home_follow_feed')->fetch_all_by_dateline($removetime, '<=') as $feed) { C::t('home_follow_feed')->insert_archiver($feed); C::t('home_follow_feed')->delete($feed['feedid']); } ?>