Commit 925bd415 authored by Steven Wittens's avatar Steven Wittens

Search: wrong parameter order on search_wipe().

parent 2afd9873
......@@ -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}');
......
......@@ -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}');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment