Remove dead code

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2014-12-17 13:26:54 -05:00
parent ca81faac4a
commit ee960768ca
2 changed files with 3 additions and 5 deletions

View File

@ -1399,11 +1399,9 @@ class PMA_DbQbe
/**
* Provides the generated SQL query
*
* @param array $cfgRelation Relation Settings
*
* @return string SQL query
*/
private function _getSQLQuery($cfgRelation)
private function _getSQLQuery()
{
$sql_query = '';
// get SELECT clause
@ -1472,7 +1470,7 @@ class PMA_DbQbe
$html_output .= '<textarea cols="80" name="sql_query" id="textSqlquery"'
. ' rows="' . ((count($this->_criteriaTables) > 30) ? '15' : '7') . '"'
. ' dir="' . $text_dir . '">';
$html_output .= $this->_getSQLQuery($cfgRelation);
$html_output .= $this->_getSQLQuery();
$html_output .= '</textarea>';
$html_output .= '</fieldset>';
// displays form's footers

View File

@ -540,7 +540,7 @@ class PMA_DBQbe_Test extends PHPUnit_Framework_TestCase
',
$this->_callProtectedFunction(
'_getSQLQuery',
array(array('relwork' => false))
array()
)
);
}