From adb39168cc384d7a808f836cf2e9f9585b82f864 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Sun, 1 Apr 2007 09:51:41 +0000 Subject: [PATCH] coding standard: no braces around include --- browse_foreigners.php | 12 ++++----- calendar.php | 6 ++--- chk_rel.php | 8 +++--- db_create.php | 8 +++--- db_datadict.php | 10 +++---- db_export.php | 12 ++++----- db_import.php | 10 +++---- db_sql.php | 6 ++--- import.php | 22 ++++++++-------- libraries/auth/config.auth.lib.php | 6 ++--- libraries/auth/http.auth.lib.php | 4 +-- libraries/charset_conversion.lib.php | 14 +++++----- libraries/common.inc.php | 2 +- libraries/database_interface.lib.php | 6 ++--- libraries/db_common.inc.php | 6 ++--- libraries/db_links.inc.php | 2 +- libraries/display_create_database.lib.php | 4 +-- libraries/display_create_table.lib.php | 2 +- libraries/display_export.lib.php | 8 +++--- libraries/display_import.lib.php | 6 ++--- libraries/export/excel.php | 2 +- libraries/export/ods.php | 4 +-- libraries/export/odt.php | 4 +-- libraries/export/pdf.php | 2 +- libraries/export/xls.php | 2 +- libraries/footer.inc.php | 2 +- libraries/header_printview.inc.php | 6 ++--- libraries/language.lib.php | 2 +- libraries/mult_submits.inc.php | 20 +++++++------- libraries/navigation_header.inc.php | 2 +- libraries/opendocument.lib.php | 2 +- libraries/relation_cleanup.lib.php | 2 +- libraries/server_links.inc.php | 4 +-- libraries/sqlparser.lib.php | 6 ++--- libraries/sqlvalidator.class.php | 2 +- libraries/sqlvalidator.lib.php | 2 +- libraries/storage_engines.lib.php | 2 +- libraries/tbl_common.php | 6 ++--- libraries/tbl_info.inc.php | 2 +- libraries/tbl_links.inc.php | 6 ++--- libraries/tbl_properties.inc.php | 10 +++---- .../application_octetstream__hex.inc.php | 2 +- .../image_jpeg__inline.inc.php | 2 +- .../transformations/image_jpeg__link.inc.php | 2 +- .../transformations/image_png__inline.inc.php | 2 +- .../text_plain__dateformat.inc.php | 2 +- .../text_plain__external.inc.php | 2 +- .../text_plain__imagelink.inc.php | 2 +- .../transformations/text_plain__link.inc.php | 2 +- .../text_plain__substr.inc.php | 2 +- pdf_pages.php | 12 ++++----- pdf_schema.php | 12 ++++----- phpinfo.php | 2 +- scripts/check_lang.php | 2 +- scripts/setup.php | 2 +- server_collations.php | 12 ++++----- server_engines.php | 10 +++---- server_export.php | 8 +++--- server_import.php | 10 +++---- server_privileges.php | 26 +++++++++---------- server_processlist.php | 8 +++--- server_sql.php | 2 +- show_config_errors.php | 2 +- sql.php | 2 +- tbl_addfield.php | 16 ++++++------ tbl_alter.php | 22 ++++++++-------- tbl_export.php | 12 ++++----- tbl_import.php | 12 ++++----- tbl_relation.php | 12 ++++----- tbl_row_action.php | 16 ++++++------ tbl_select.php | 18 ++++++------- tbl_sql.php | 12 ++++----- themes.php | 6 ++--- transformation_wrapper.php | 10 +++---- user_password.php | 12 ++++----- 75 files changed, 260 insertions(+), 260 deletions(-) diff --git a/browse_foreigners.php b/browse_foreigners.php index 4ea4bef50..13daf3454 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -9,22 +9,22 @@ /** * Gets a core script and starts output buffering work */ -require_once('./libraries/common.inc.php'); +require_once './libraries/common.inc.php'; PMA_checkParameters(array('db', 'table', 'field')); -require_once('./libraries/ob.lib.php'); +require_once './libraries/ob.lib.php'; PMA_outBufferPre(); -require_once('./libraries/header_http.inc.php'); +require_once './libraries/header_http.inc.php'; $field = urldecode($field); /** * Displays the frame */ $per_page = 200; -require_once('./libraries/relation.lib.php'); // foreign keys -require_once('./libraries/transformations.lib.php'); // Transformations +require_once './libraries/relation.lib.php'; // foreign keys +require_once './libraries/transformations.lib.php'; // Transformations $cfgRelation = PMA_getRelationsParam(); $foreigners = ($cfgRelation['relwork'] ? PMA_getForeigners($db, $table) : FALSE); @@ -39,7 +39,7 @@ if (isset($foreign_navig) && $foreign_navig == $strShowAll) { unset($foreign_limit); } -require('./libraries/get_foreign.lib.php'); +require './libraries/get_foreign.lib.php'; if (isset($pk)) { $pk_uri = '&pk=' . urlencode($pk); diff --git a/calendar.php b/calendar.php index fe46fc35e..64262f7c5 100644 --- a/calendar.php +++ b/calendar.php @@ -8,10 +8,10 @@ /** * */ -require_once('./libraries/common.inc.php'); -require_once('./libraries/header_http.inc.php'); +require_once './libraries/common.inc.php'; +require_once './libraries/header_http.inc.php'; $page_title = $strCalendar; -require('./libraries/header_meta_style.inc.php'); +require './libraries/header_meta_style.inc.php'; ?>