Commit 248ae3a2 authored by Dries's avatar Dries
Browse files

- Patch #186028 by chx: search_preprocess gets added to theme registry.

parent 8653f140
......@@ -303,7 +303,7 @@ function search_simplify($text) {
$text = drupal_strtolower($text);
// Call an external processor for word handling.
search_preprocess($text);
search_invoke_preprocess($text);
// Simple CJK handling
if (variable_get('overlap_cjk', TRUE)) {
......@@ -390,7 +390,7 @@ function _search_index_truncate(&$text) {
/**
* Invokes hook_search_preprocess() in modules.
*/
function search_preprocess(&$text) {
function search_invoke_preprocess(&$text) {
foreach (module_implements('search_preprocess') as $module) {
$text = module_invoke($module, 'search_preprocess', $text);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment