From: Stanislav Malyshev Date: Tue, 17 Jan 2017 22:51:51 +0000 (-0800) Subject: SpecialSearchResults hooks does not use by-ref anymore X-Git-Tag: 1.31.0-rc.0~4305^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=6124b90b1daff50117c828c43dc8d31a10ee7b6c;p=lhc%2Fweb%2Fwiklou.git 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 --- 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