@@ -562,7 +562,6 @@ public function getHtmlForDisplayedExportHeader(
562562 * @param string|array $dbSelect the selected databases to export
563563 * @param string $whatStrucOrData structure or data or both
564564 * @param ExportPlugin $exportPlugin the selected export plugin
565- * @param string $crlf end of line character(s)
566565 * @param string $errorUrl the URL in case of error
567566 * @param string $exportType the export type
568567 * @param bool $doRelation whether to export relation info
@@ -576,7 +575,6 @@ public function exportServer(
576575 $ dbSelect ,
577576 string $ whatStrucOrData ,
578577 ExportPlugin $ exportPlugin ,
579- string $ crlf ,
580578 string $ errorUrl ,
581579 string $ exportType ,
582580 bool $ doRelation ,
@@ -605,7 +603,6 @@ public function exportServer(
605603 $ tables ,
606604 $ tables ,
607605 $ exportPlugin ,
608- $ crlf ,
609606 $ errorUrl ,
610607 $ exportType ,
611608 $ doRelation ,
@@ -632,7 +629,6 @@ public function exportServer(
632629 * @param array $tableStructure whether to export structure for each table
633630 * @param array $tableData whether to export data for each table
634631 * @param ExportPlugin $exportPlugin the selected export plugin
635- * @param string $crlf end of line character(s)
636632 * @param string $errorUrl the URL in case of error
637633 * @param string $exportType the export type
638634 * @param bool $doRelation whether to export relation info
@@ -649,7 +645,6 @@ public function exportDatabase(
649645 array $ tableStructure ,
650646 array $ tableData ,
651647 ExportPlugin $ exportPlugin ,
652- string $ crlf ,
653648 string $ errorUrl ,
654649 string $ exportType ,
655650 bool $ doRelation ,
@@ -711,7 +706,6 @@ public function exportDatabase(
711706 && ! $ exportPlugin ->exportStructure (
712707 $ db ,
713708 $ table ,
714- $ crlf ,
715709 $ errorUrl ,
716710 'stand_in ' ,
717711 $ exportType ,
@@ -747,7 +741,6 @@ public function exportDatabase(
747741 ! $ exportPlugin ->exportStructure (
748742 $ db ,
749743 $ table ,
750- $ crlf ,
751744 $ errorUrl ,
752745 'create_table ' ,
753746 $ exportType ,
@@ -776,7 +769,7 @@ public function exportDatabase(
776769 . ' FROM ' . Util::backquote ($ db )
777770 . '. ' . Util::backquote ($ table );
778771
779- if (! $ exportPlugin ->exportData ($ db , $ table , $ crlf , $ errorUrl , $ localQuery , $ aliases )) {
772+ if (! $ exportPlugin ->exportData ($ db , $ table , $ errorUrl , $ localQuery , $ aliases )) {
780773 break ;
781774 }
782775 }
@@ -800,7 +793,6 @@ public function exportDatabase(
800793 ! $ exportPlugin ->exportStructure (
801794 $ db ,
802795 $ table ,
803- $ crlf ,
804796 $ errorUrl ,
805797 'triggers ' ,
806798 $ exportType ,
@@ -832,7 +824,6 @@ public function exportDatabase(
832824 ! $ exportPlugin ->exportStructure (
833825 $ db ,
834826 $ view ,
835- $ crlf ,
836827 $ errorUrl ,
837828 'create_view ' ,
838829 $ exportType ,
@@ -896,15 +887,13 @@ public function exportDatabase(
896887 *
897888 * @param string $whatStrucOrData whether to export structure for each table or raw
898889 * @param ExportPlugin $exportPlugin the selected export plugin
899- * @param string $crlf end of line character(s)
900890 * @param string $errorUrl the URL in case of error
901891 * @param string $sqlQuery the query to be executed
902892 * @param string $exportType the export type
903893 */
904894 public static function exportRaw (
905895 string $ whatStrucOrData ,
906896 ExportPlugin $ exportPlugin ,
907- string $ crlf ,
908897 string $ errorUrl ,
909898 string $ sqlQuery ,
910899 string $ exportType
@@ -914,7 +903,7 @@ public static function exportRaw(
914903 return ;
915904 }
916905
917- if (! $ exportPlugin ->exportRawQuery ($ errorUrl , $ sqlQuery, $ crlf )) {
906+ if (! $ exportPlugin ->exportRawQuery ($ errorUrl , $ sqlQuery )) {
918907 $ GLOBALS ['message ' ] = Message::error (
919908 // phpcs:disable Generic.Files.LineLength.TooLong
920909 /* l10n: A query written by the user is a "raw query" that could be using no tables or databases in particular */
@@ -932,7 +921,6 @@ public static function exportRaw(
932921 * @param string $table the table to export
933922 * @param string $whatStrucOrData structure or data or both
934923 * @param ExportPlugin $exportPlugin the selected export plugin
935- * @param string $crlf end of line character(s)
936924 * @param string $errorUrl the URL in case of error
937925 * @param string $exportType the export type
938926 * @param bool $doRelation whether to export relation info
@@ -950,7 +938,6 @@ public function exportTable(
950938 string $ table ,
951939 string $ whatStrucOrData ,
952940 ExportPlugin $ exportPlugin ,
953- string $ crlf ,
954941 string $ errorUrl ,
955942 string $ exportType ,
956943 bool $ doRelation ,
@@ -986,7 +973,6 @@ public function exportTable(
986973 ! $ exportPlugin ->exportStructure (
987974 $ db ,
988975 $ table ,
989- $ crlf ,
990976 $ errorUrl ,
991977 'create_view ' ,
992978 $ exportType ,
@@ -1005,7 +991,6 @@ public function exportTable(
1005991 ! $ exportPlugin ->exportStructure (
1006992 $ db ,
1007993 $ table ,
1008- $ crlf ,
1009994 $ errorUrl ,
1010995 'create_table ' ,
1011996 $ exportType ,
@@ -1044,7 +1029,7 @@ public function exportTable(
10441029 . '. ' . Util::backquote ($ table ) . $ addQuery ;
10451030 }
10461031
1047- if (! $ exportPlugin ->exportData ($ db , $ table , $ crlf , $ errorUrl , $ localQuery , $ aliases )) {
1032+ if (! $ exportPlugin ->exportData ($ db , $ table , $ errorUrl , $ localQuery , $ aliases )) {
10481033 return ;
10491034 }
10501035 }
@@ -1059,7 +1044,6 @@ public function exportTable(
10591044 ! $ exportPlugin ->exportStructure (
10601045 $ db ,
10611046 $ table ,
1062- $ crlf ,
10631047 $ errorUrl ,
10641048 'triggers ' ,
10651049 $ exportType ,
0 commit comments