Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Aug 18, 2012
1 parent c28f13c commit 23812e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/filter_api.php
Expand Up @@ -4512,8 +4512,8 @@ function filter_db_delete_filter( $p_filter_id ) {
return false;
}

$query = 'DELETE FROM {filters} WHERE id=%d';
$result = db_query( $query, array( $c_filter_id ) );
$t_query = 'DELETE FROM {filters} WHERE id=%d';
db_query( $t_query, array( $c_filter_id ) );

# db_query errors on failure so:
return true;
Expand All @@ -4525,8 +4525,8 @@ function filter_db_delete_filter( $p_filter_id ) {
function filter_db_delete_current_filters() {
$t_all_id = ALL_PROJECTS;

$query = 'DELETE FROM {filters} WHERE project_id<=%d AND name=%s';
$result = db_query( $query, array( $t_all_id, '' ) );
$t_query = 'DELETE FROM {filters} WHERE project_id<=%d AND name=%s';
db_query( $t_query, array( $t_all_id, '' ) );
}

/**
Expand Down

0 comments on commit 23812e6

Please sign in to comment.