aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_native.php
diff options
context:
space:
mode:
authorkasimi <mail@kasimi.net>2018-01-28 18:02:22 +0100
committerkasimi <mail@kasimi.net>2018-01-28 18:02:22 +0100
commit9f7f3d14634c2995714800e93cf99272d3d531f0 (patch)
tree5a20cb5580919f25b567878696e190ded2db3505 /phpBB/phpbb/search/fulltext_native.php
parent013f9819b00bb941faee9c0578bd6fb2f3378a72 (diff)
downloadforums-9f7f3d14634c2995714800e93cf99272d3d531f0.tar
forums-9f7f3d14634c2995714800e93cf99272d3d531f0.tar.gz
forums-9f7f3d14634c2995714800e93cf99272d3d531f0.tar.bz2
forums-9f7f3d14634c2995714800e93cf99272d3d531f0.tar.xz
forums-9f7f3d14634c2995714800e93cf99272d3d531f0.zip
[ticket/15537] Add cur_words argument to core.search_native_index_before
PHPBB3-15537
Diffstat (limited to 'phpBB/phpbb/search/fulltext_native.php')
-rw-r--r--phpBB/phpbb/search/fulltext_native.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/phpbb/search/fulltext_native.php b/phpBB/phpbb/search/fulltext_native.php
index 76d86526af..eb972a257a 100644
--- a/phpBB/phpbb/search/fulltext_native.php
+++ b/phpBB/phpbb/search/fulltext_native.php
@@ -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)));