Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
925bd415
Commit
925bd415
authored
Dec 02, 2004
by
Steven Wittens
Browse files
Search: wrong parameter order on search_wipe().
parent
2afd9873
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/search.module
View file @
925bd415
...
...
@@ -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}'
);
...
...
modules/search/search.module
View file @
925bd415
...
...
@@ -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}'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment