Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Delisle <marc@infomarc.info>
  • Loading branch information
lem9 committed Apr 9, 2015
1 parent 4c4583d commit 498c14f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion import.php
Expand Up @@ -312,7 +312,7 @@
);
if (! empty($_REQUEST['bookmark_variable'])) {
$import_text = PMA_Bookmark_applyVariables(
$import_text, $_REQUEST['bookmark_variable']
$import_text
);
}

Expand Down
5 changes: 2 additions & 3 deletions libraries/bookmark.lib.php
Expand Up @@ -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(
Expand Down

0 comments on commit 498c14f

Please sign in to comment.