diff options
Diffstat (limited to 'libraries/classes/Plugins/Export/ExportTexytext.php')
-rw-r--r-- | libraries/classes/Plugins/Export/ExportTexytext.php | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/libraries/classes/Plugins/Export/ExportTexytext.php b/libraries/classes/Plugins/Export/ExportTexytext.php index 6280520c78..14b03c7e0f 100644 --- a/libraries/classes/Plugins/Export/ExportTexytext.php +++ b/libraries/classes/Plugins/Export/ExportTexytext.php @@ -153,7 +153,6 @@ class ExportTexytext extends ExportPlugin * * @param string $db database name * @param string $table table name - * @param string $crlf the end of line sequence * @param string $errorUrl the url to go back in case of error * @param string $sqlQuery SQL query for obtaining data * @param array $aliases Aliases of db/table/columns @@ -161,7 +160,6 @@ class ExportTexytext extends ExportPlugin public function exportData( $db, $table, - $crlf, $errorUrl, $sqlQuery, array $aliases = [] @@ -241,11 +239,10 @@ class ExportTexytext extends ExportPlugin * * @param string $errorUrl the url to go back in case of error * @param string $sqlQuery the rawquery to output - * @param string $crlf the end of line sequence */ - public function exportRawQuery(string $errorUrl, string $sqlQuery, string $crlf): bool + public function exportRawQuery(string $errorUrl, string $sqlQuery): bool { - return $this->exportData('', '', $crlf, $errorUrl, $sqlQuery); + return $this->exportData('', '', $errorUrl, $sqlQuery); } /** @@ -253,12 +250,11 @@ class ExportTexytext extends ExportPlugin * * @param string $db the database name * @param string $view the view name - * @param string $crlf the end of line sequence * @param array $aliases Aliases of db/table/columns * * @return string resulting definition */ - public function getTableDefStandIn($db, $view, $crlf, $aliases = []) + public function getTableDefStandIn($db, $view, $aliases = []) { $text_output = ''; @@ -310,7 +306,6 @@ class ExportTexytext extends ExportPlugin * * @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 @@ -331,7 +326,6 @@ class ExportTexytext extends ExportPlugin public function getTableDef( $db, $table, - $crlf, $error_url, $do_relation, $do_comments, @@ -477,7 +471,6 @@ class ExportTexytext extends ExportPlugin * * @param string $db database name * @param string $table table name - * @param string $crlf the end of line sequence * @param string $errorUrl the url to go back in case of error * @param string $exportMode 'create_table', 'triggers', 'create_view', * 'stand_in' @@ -496,7 +489,6 @@ class ExportTexytext extends ExportPlugin public function exportStructure( $db, $table, - $crlf, $errorUrl, $exportMode, $exportType, @@ -518,7 +510,6 @@ class ExportTexytext extends ExportPlugin $dump .= $this->getTableDef( $db, $table, - $crlf, $errorUrl, $do_relation, $do_comments, @@ -543,7 +534,6 @@ class ExportTexytext extends ExportPlugin $dump .= $this->getTableDef( $db, $table, - $crlf, $errorUrl, $do_relation, $do_comments, @@ -558,7 +548,7 @@ class ExportTexytext extends ExportPlugin $dump .= '== ' . __('Stand-in structure for view') . ' ' . $table . "\n\n"; // export a stand-in definition to resolve view dependencies - $dump .= $this->getTableDefStandIn($db, $table, $crlf, $aliases); + $dump .= $this->getTableDefStandIn($db, $table, $aliases); } return $this->export->outputHandler($dump); |