mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14616] Added prune_limit to event core.prune_sql
PHPBB3-14616
This commit is contained in:
parent
9170261885
commit
65a4f0d631
1 changed files with 11 additions and 1 deletions
|
@ -2588,9 +2588,19 @@ function prune($forum_id, $prune_mode, $prune_date, $prune_flags = 0, $auto_sync
|
||||||
* @var int prune_flags The prune flags
|
* @var int prune_flags The prune flags
|
||||||
* @var bool auto_sync Whether or not to perform auto sync
|
* @var bool auto_sync Whether or not to perform auto sync
|
||||||
* @var string sql_and SQL text appended to where clause
|
* @var string sql_and SQL text appended to where clause
|
||||||
|
* @var int prune_limit The prune limit
|
||||||
* @since 3.1.3-RC1
|
* @since 3.1.3-RC1
|
||||||
|
* @changed 3.1.10-RC1 Added prune_limit
|
||||||
*/
|
*/
|
||||||
$vars = array('forum_id', 'prune_mode', 'prune_date', 'prune_flags', 'auto_sync', 'sql_and');
|
$vars = array(
|
||||||
|
'forum_id',
|
||||||
|
'prune_mode',
|
||||||
|
'prune_date',
|
||||||
|
'prune_flags',
|
||||||
|
'auto_sync',
|
||||||
|
'sql_and',
|
||||||
|
'prune_limit'
|
||||||
|
);
|
||||||
extract($phpbb_dispatcher->trigger_event('core.prune_sql', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.prune_sql', compact($vars)));
|
||||||
|
|
||||||
$sql = 'SELECT topic_id
|
$sql = 'SELECT topic_id
|
||||||
|
|
Loading…
Add table
Reference in a new issue