Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
4c4583deb0
commit
498c14fc62
@ -312,7 +312,7 @@ if (! empty($_REQUEST['id_bookmark'])) {
|
||||
);
|
||||
if (! empty($_REQUEST['bookmark_variable'])) {
|
||||
$import_text = PMA_Bookmark_applyVariables(
|
||||
$import_text, $_REQUEST['bookmark_variable']
|
||||
$import_text
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -245,12 +245,11 @@ function PMA_Bookmark_getVariableCount($query)
|
||||
/**
|
||||
* Replace the placeholders in the bookmark query with variables
|
||||
*
|
||||
* @param string $query bookmarked query
|
||||
* @param array $variables variables to apply
|
||||
* @param string $query bookmarked query
|
||||
*
|
||||
* @return string query with variables applied
|
||||
*/
|
||||
function PMA_Bookmark_applyVariables($query, $variables)
|
||||
function PMA_Bookmark_applyVariables($query)
|
||||
{
|
||||
// remove comments that encloses a variable placeholder
|
||||
$query = preg_replace(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user