summaryrefslogtreecommitdiff
path: root/modules/search/search.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-02-15 20:09:46 +0000
committerDries Buytaert <dries@buytaert.net>2004-02-15 20:09:46 +0000
commit4b0b2d02eecaa27e3162a0fad9d31bb08f4df53b (patch)
treecf369f7370c1be045e3d48e7a9beb26d1d0f3714 /modules/search/search.module
parentae5136e51b87b414c737f4726c367c18db79fc49 (diff)
downloadbrdo-4b0b2d02eecaa27e3162a0fad9d31bb08f4df53b.tar.gz
brdo-4b0b2d02eecaa27e3162a0fad9d31bb08f4df53b.tar.bz2
- Patch by Steven: removed redundant permission checks. These are no longer
required thanks to the new 404 handling.
Diffstat (limited to 'modules/search/search.module')
-rw-r--r--modules/search/search.module21
1 files changed, 0 insertions, 21 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 8bd9ad261..222868630 100644
--- a/modules/search/search.module
+++ b/modules/search/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.
*/