1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

Remove unused variables

This commit is contained in:
Michal Čihař
2011-08-09 08:33:50 +02:00
parent 159205458a
commit db50c8cf09

View File

@@ -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) ? '%' : '');