From 925bd41585ebe0f38df01f2c32796585dbee5cf8 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 2 Dec 2004 06:45:18 +0000 Subject: Search: wrong parameter order on search_wipe(). --- modules/search.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/search.module') diff --git a/modules/search.module b/modules/search.module index 7e02865d2..8fc6091aa 100644 --- a/modules/search.module +++ b/modules/search.module @@ -134,7 +134,7 @@ function search_admin() { * (optional) The type of item to wipe. * */ -function search_wipe($type = NULL, $sid = NULL) { +function search_wipe($sid = NULL, $type = NULL) { if ($type == NULL && $sid == NULL) { db_query('DELETE FROM {search_index}'); db_query('DELETE FROM {search_total}'); -- cgit v1.2.3