summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/search.module b/modules/search.module
index 3110052cf..3c98d4cc5 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -74,9 +74,10 @@ function search_admin() {
if (user_access("administer search")) {
if ($op == "reindex") {
search_invalidate();
- print t("index invalidated") ."<br />\n";
+ $output = t("index invalidated") ."<br />\n";
search_cron();
- print t("index recreated") ."<br /><hr />\n";
+ $output .= t("index recreated") ."<br /><hr />\n";
+ return $output;
}
}
}