summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module21
1 files changed, 0 insertions, 21 deletions
diff --git a/modules/search.module b/modules/search.module
index 8bd9ad261..222868630 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -59,27 +59,6 @@ function search_settings() {
}
/**
- * search engine administration actions
- */
-function search_admin() {
- $op = $_POST["op"];
-
- // Only allow people with sufficient access.
- if (user_access("administer search")) {
- if ($op == "reindex") {
- search_invalidate();
- $output = t("index invalidated") ."<br />\n";
- search_cron();
- $output .= t("index recreated") ."<br /><hr />\n";
- print theme("page", $output);
- }
- }
- else {
- print theme("page", message_access());
- }
-}
-
-/**
* perform a regularly run action across all modules that have the
* <i>module</i>_update_index function in them.
*/