Remove unused parameter
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
dec999944b
commit
b3bcdf55ee
@ -2039,7 +2039,6 @@ function PMA_getWarningMessages()
|
||||
* Column to display from the foreign table?
|
||||
*
|
||||
* @param string $where_comparison string that contain relation field value
|
||||
* @param string $relation_field_value relation field value
|
||||
* @param array $map all Relations to foreign tables for a given
|
||||
* table or optionally a given column in a table
|
||||
* @param string $relation_field relation field
|
||||
@ -2047,7 +2046,7 @@ function PMA_getWarningMessages()
|
||||
* @return string $dispval display value from the foreign table
|
||||
*/
|
||||
function PMA_getDisplayValueForForeignTableColumn($where_comparison,
|
||||
$relation_field_value, $map, $relation_field
|
||||
$map, $relation_field
|
||||
) {
|
||||
$foreigner = PMA_searchColumnInForeigners($map, $relation_field);
|
||||
$display_field = PMA_getDisplayField(
|
||||
|
||||
@ -379,7 +379,7 @@ if ($response->isAjax() && ! isset($_POST['ajax_page_request'])) {
|
||||
foreach ($curr_rel_field as $relation_field => $relation_field_value) {
|
||||
$where_comparison = "='" . $relation_field_value . "'";
|
||||
$dispval = PMA_getDisplayValueForForeignTableColumn(
|
||||
$where_comparison, $relation_field_value, $map, $relation_field
|
||||
$where_comparison, $map, $relation_field
|
||||
);
|
||||
|
||||
$extra_data['relations'][$cell_index]
|
||||
|
||||
@ -2332,7 +2332,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$GLOBALS['dbi'] = $dbi;
|
||||
|
||||
$result = PMA_getDisplayValueForForeignTableColumn("=1", null, $map, 'f');
|
||||
$result = PMA_getDisplayValueForForeignTableColumn("=1", $map, 'f');
|
||||
|
||||
$this->assertEquals(2, $result);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user