From 2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 19 Sep 2003 07:41:55 +0000 Subject: - Committed a partial administration page integration patch. --- modules/search/search.module | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/search') diff --git a/modules/search/search.module b/modules/search/search.module index 3110052cf..3c98d4cc5 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -74,9 +74,10 @@ function search_admin() { if (user_access("administer search")) { if ($op == "reindex") { search_invalidate(); - print t("index invalidated") ."
\n"; + $output = t("index invalidated") ."
\n"; search_cron(); - print t("index recreated") ."

\n"; + $output .= t("index recreated") ."

\n"; + return $output; } } } -- cgit v1.2.3