diff options
author | Michal Čihař <michal@cihar.com> | 2011-08-09 10:33:50 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2011-08-09 10:33:50 +0400 |
commit | db50c8cf0980ad70671bb0ab78fa4783077c2e7e (patch) | |
tree | 66bb8fd0dfea095da490d1639668384685bb5e15 /db_search.php | |
parent | 159205458a6ba8be822fb154a09a7440d6bd0fcd (diff) |
Remove unused variables
Diffstat (limited to 'db_search.php')
-rw-r--r-- | db_search.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/db_search.php b/db_search.php index acbe0cb999..c0f2c082af 100644 --- a/db_search.php +++ b/db_search.php @@ -120,14 +120,9 @@ if (isset($_REQUEST['submit_search'])) { * 3 -> exact string, 4 -> regexp) * * @return array 3 SQL querys (for count, display and delete results) - * - * @global string the url to return to in case of errors - * @global string charset connection */ function PMA_getSearchSqls($table, $field, $search_str, $search_option) { - global $err_url; - // Statement types $sqlstr_select = 'SELECT'; $sqlstr_delete = 'DELETE'; @@ -140,7 +135,6 @@ if (isset($_REQUEST['submit_search'])) { $sqlstr_from = ' FROM ' . PMA_backquote($GLOBALS['db']) . '.' . PMA_backquote($table); $search_words = (($search_option > 2) ? array($search_str) : explode(' ', $search_str)); - $search_wds_cnt = count($search_words); $like_or_regex = (($search_option == 4) ? 'REGEXP' : 'LIKE'); $automatic_wildcard = (($search_option < 3) ? '%' : ''); |