From ee960768ca1036aa7d91557f7651238d30b35b3f Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 17 Dec 2014 13:26:54 -0500 Subject: [PATCH] Remove dead code Signed-off-by: Marc Delisle --- libraries/DBQbe.class.php | 6 ++---- test/classes/PMA_DBQbe_test.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/libraries/DBQbe.class.php b/libraries/DBQbe.class.php index 0832579e6a..b2bbde0554 100644 --- a/libraries/DBQbe.class.php +++ b/libraries/DBQbe.class.php @@ -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 .= ''; $html_output .= ''; // displays form's footers diff --git a/test/classes/PMA_DBQbe_test.php b/test/classes/PMA_DBQbe_test.php index 1290ec7429..0e6b422058 100644 --- a/test/classes/PMA_DBQbe_test.php +++ b/test/classes/PMA_DBQbe_test.php @@ -540,7 +540,7 @@ class PMA_DBQbe_Test extends PHPUnit_Framework_TestCase ', $this->_callProtectedFunction( '_getSQLQuery', - array(array('relwork' => false)) + array() ) ); }