The branch, master has been updated via c29c0e0eb5039645730d4a9f4deb07ea0af1337d (commit) from 8adf643bdaef02dbf1e6c1eecaa504ef1d9033c6 (commit)
- Log ----------------------------------------------------------------- commit c29c0e0eb5039645730d4a9f4deb07ea0af1337d Author: Michal Čihař mcihar@suse.cz Date: Thu Jul 21 11:04:37 2011 +0200
Avoid double underscore in function name
-----------------------------------------------------------------------
Summary of changes: libraries/relation.lib.php | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/libraries/relation.lib.php b/libraries/relation.lib.php index c2acd8e..273952d 100644 --- a/libraries/relation.lib.php +++ b/libraries/relation.lib.php @@ -48,7 +48,7 @@ function PMA_query_as_controluser($sql, $show_error = true, $options = 0) function PMA_getRelationsParam($verbose = false) { if (empty($_SESSION['relation'][$GLOBALS['server']])) { - $_SESSION['relation'][$GLOBALS['server']] = PMA__getRelationsParam(); + $_SESSION['relation'][$GLOBALS['server']] = PMA_getRelationsParam(); }
// just for BC but needs to be before PMA_printRelationsParamDiagnostic() @@ -196,7 +196,7 @@ function PMA_printDiagMessageForParameter($parameter, $relation_parameter_set, $ * @access protected * @return array the relation parameters for the current user */ -function PMA__getRelationsParam() +function PMA_getRelationsParam() { $cfgRelation = array(); $cfgRelation['relwork'] = false; @@ -277,7 +277,7 @@ function PMA__getRelationsParam() $cfgRelation['displaywork'] = true; } } - + if (isset($cfgRelation['table_coords']) && isset($cfgRelation['pdf_pages'])) { $cfgRelation['pdfwork'] = true; } @@ -766,7 +766,7 @@ function PMA_purgeHistory($username) * * @access protected */ -function PMA__foreignDropdownBuild($foreign, $data, $mode) +function PMA_foreignDropdownBuild($foreign, $data, $mode) { $reloptions = array();
@@ -816,7 +816,7 @@ function PMA__foreignDropdownBuild($foreign, $data, $mode) } // end foreach
return $reloptions; -} // end of 'PMA__foreignDropdownBuild' function +} // end of 'PMA_foreignDropdownBuild' function
/** * Outputs dropdown with values of foreign fields @@ -857,19 +857,19 @@ function PMA_foreignDropdown($disp_row, $foreign_field, $foreign_display, $data, if ($foreign_display) { if (PMA_isValid($GLOBALS['cfg']['ForeignKeyDropdownOrder'], 'array')) { if (PMA_isValid($GLOBALS['cfg']['ForeignKeyDropdownOrder'][0])) { - $top = PMA__foreignDropdownBuild($foreign, $data, + $top = PMA_foreignDropdownBuild($foreign, $data, $GLOBALS['cfg']['ForeignKeyDropdownOrder'][0]); } if (PMA_isValid($GLOBALS['cfg']['ForeignKeyDropdownOrder'][1])) { - $bottom = PMA__foreignDropdownBuild($foreign, $data, + $bottom = PMA_foreignDropdownBuild($foreign, $data, $GLOBALS['cfg']['ForeignKeyDropdownOrder'][1]); } } else { - $top = PMA__foreignDropdownBuild($foreign, $data, 'id-content'); - $bottom = PMA__foreignDropdownBuild($foreign, $data, 'content-id'); + $top = PMA_foreignDropdownBuild($foreign, $data, 'id-content'); + $bottom = PMA_foreignDropdownBuild($foreign, $data, 'content-id'); } } else { - $top = PMA__foreignDropdownBuild($foreign, $data, 'id-only'); + $top = PMA_foreignDropdownBuild($foreign, $data, 'id-only'); }
// beginning of dropdown
hooks/post-receive