diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-12-02 06:45:18 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-12-02 06:45:18 +0000 |
commit | 925bd41585ebe0f38df01f2c32796585dbee5cf8 (patch) | |
tree | ca2c3128730667f980d9b6a4d8e8165b6c1340da | |
parent | 2afd987398ee510e0eb4ebd363e933f32867587e (diff) | |
download | brdo-925bd41585ebe0f38df01f2c32796585dbee5cf8.tar.gz brdo-925bd41585ebe0f38df01f2c32796585dbee5cf8.tar.bz2 |
Search: wrong parameter order on search_wipe().
-rw-r--r-- | modules/search.module | 2 | ||||
-rw-r--r-- | modules/search/search.module | 2 |
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}'); |