From 6124b90b1daff50117c828c43dc8d31a10ee7b6c Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Tue, 17 Jan 2017 14:51:51 -0800 Subject: [PATCH] SpecialSearchResults hooks does not use by-ref anymore In general, there's no reason to use by-ref on objects unless the hook is supposed to replace them (this one isn't). Change-Id: I153a7d590faceb1e2c4fe7d95a5cb931cda0c301 --- docs/hooks.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 1da39cf61b..7162cce767 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -3203,8 +3203,8 @@ $opts: Array: key => value of hidden options for inclusion in custom forms 'SpecialSearchResults': Called before search result display $term: string of search term -&$titleMatches: empty or SearchResultSet object -&$textMatches: empty or SearchResultSet object +$titleMatches: empty or SearchResultSet object +$textMatches: empty or SearchResultSet object 'SpecialSearchResultsPrepend': Called immediately before returning HTML on the search results page. Useful for including an external search -- 2.20.1