From 3ec96cb038853f0f6d8198461b20c4a784cc9bf0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 18 Oct 2014 08:31:26 -0400 Subject: [PATCH] Remove unused code Signed-off-by: Marc Delisle --- .../plugins/export/ExportHtmlword.class.php | 30 +++++++------------ 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/libraries/plugins/export/ExportHtmlword.class.php b/libraries/plugins/export/ExportHtmlword.class.php index 374a35d62c..d6ace991a2 100644 --- a/libraries/plugins/export/ExportHtmlword.class.php +++ b/libraries/plugins/export/ExportHtmlword.class.php @@ -322,36 +322,28 @@ class ExportHtmlword extends ExportPlugin /** * Returns $table's CREATE definition * - * @param string $db the database name - * @param string $table the table name - * @param string $crlf the end of line sequence - * @param string $error_url the url to go back in case of error - * @param bool $do_relation whether to include relation comments - * @param bool $do_comments whether to include the pmadb-style column + * @param string $db the database name + * @param string $table the table name + * @param bool $do_relation whether to include relation comments + * @param bool $do_comments whether to include the pmadb-style column * comments as comments in the structure; * this is deprecated but the parameter is * left here because export.php calls * PMA_exportStructure() also for other * export types which use this parameter - * @param bool $do_mime whether to include mime comments - * @param bool $show_dates whether to include creation/update/check dates - * @param bool $add_semicolon whether to add semicolon and end-of-line + * @param bool $do_mime whether to include mime comments * at the end - * @param bool $view whether we're handling a view - * @param array $aliases Aliases of db/table/columns + * @param bool $view whether we're handling a view + * @param array $aliases Aliases of db/table/columns * * @return string resulting schema */ public function getTableDef( $db, $table, - $crlf, - $error_url, $do_relation, $do_comments, $do_mime, - $show_dates = false, - $add_semicolon = true, $view = false, $aliases = array() ) { @@ -572,8 +564,8 @@ class ExportHtmlword extends ExportPlugin . htmlspecialchars($table_alias) . ''; $dump .= $this->getTableDef( - $db, $table, $crlf, $error_url, $do_relation, $do_comments, $do_mime, - $dates, true, false, $aliases + $db, $table, $do_relation, $do_comments, $do_mime, + false, $aliases ); break; case 'triggers': @@ -591,8 +583,8 @@ class ExportHtmlword extends ExportPlugin . __('Structure for view') . ' ' . htmlspecialchars($table_alias) . ''; $dump .= $this->getTableDef( - $db, $table, $crlf, $error_url, $do_relation, $do_comments, $do_mime, - $dates, true, true, $aliases + $db, $table, $do_relation, $do_comments, $do_mime, + true, $aliases ); break; case 'stand_in':