mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
- custom profile fields
- prune users - prune forums git-svn-id: file:///svn/phpbb/trunk@5325 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1501,6 +1501,7 @@ function prune($forum_id, $prune_mode, $prune_date, $prune_flags = 0, $auto_sync
|
||||
{
|
||||
$sql_and .= ' AND topic_type <> ' . POST_ANNOUNCE;
|
||||
}
|
||||
|
||||
if (!($prune_flags & 8))
|
||||
{
|
||||
$sql_and .= ' AND topic_type <> ' . POST_STICKY;
|
||||
@@ -1510,6 +1511,7 @@ function prune($forum_id, $prune_mode, $prune_date, $prune_flags = 0, $auto_sync
|
||||
{
|
||||
$sql_and .= " AND topic_last_post_time < $prune_date";
|
||||
}
|
||||
|
||||
if ($prune_mode == 'viewed')
|
||||
{
|
||||
$sql_and .= " AND topic_last_view_time < $prune_date";
|
||||
|
Reference in New Issue
Block a user