[ticket/15537] Add cur_words argument to core.search_native_index_before

PHPBB3-15537
This commit is contained in:
kasimi 2018-01-28 18:02:22 +01:00
parent 013f9819b0
commit 9f7f3d1463
No known key found for this signature in database
GPG key ID: 3163AB573241193A

View file

@ -1447,6 +1447,8 @@ class fulltext_native extends \phpbb\search\base
* @var array words Grouped lists of words added to or remove from the index
* @var array split_text Array of words from the message
* @var array split_title Array of words from the title
* @var array cur_words Array of words currently in the index for comparing to new words
* when mode is edit. Empty for other modes.
* @since 3.2.3-RC1
*/
$vars = array(
@ -1459,6 +1461,7 @@ class fulltext_native extends \phpbb\search\base
'words',
'split_text',
'split_title',
'cur_words',
);
extract($this->phpbb_dispatcher->trigger_event('core.search_native_index_before', compact($vars)));