mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-01 12:05:37 +02:00
No comment
git-svn-id: file:///svn/phpbb/trunk@2464 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f69c60ece8
commit
1fdfa98674
@ -122,8 +122,6 @@ function prune($forum_id, $prune_date)
|
||||
//
|
||||
function auto_prune($forum_id = 0)
|
||||
{
|
||||
require($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
|
||||
|
||||
global $db, $lang;
|
||||
|
||||
$sql = "SELECT *
|
||||
|
@ -174,6 +174,7 @@ if ( $is_auth['auth_mod'] && $board_config['prune_enable'] )
|
||||
if ( $forum_row['prune_next'] < time() && $forum_row['prune_enable'] )
|
||||
{
|
||||
include($phpbb_root_path . 'includes/prune.'.$phpEx);
|
||||
require($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
|
||||
auto_prune($forum_id);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user