Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2011-08-09 10:33:50 +0400
committerMichal Čihař <michal@cihar.com>2011-08-09 10:33:50 +0400
commitdb50c8cf0980ad70671bb0ab78fa4783077c2e7e (patch)
tree66bb8fd0dfea095da490d1639668384685bb5e15 /db_search.php
parent159205458a6ba8be822fb154a09a7440d6bd0fcd (diff)
Remove unused variables
Diffstat (limited to 'db_search.php')
-rw-r--r--db_search.php6
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) ? '%' : '');