summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/search.module2
-rw-r--r--modules/search/search.module2
2 files changed, 2 insertions, 2 deletions
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}');
diff --git a/modules/search/search.module b/modules/search/search.module
index 7e02865d2..8fc6091aa 100644
--- a/modules/search/search.module
+++ b/modules/search/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}');