I think that part of code need not be removed. An empty array is passed for replaces where actually an array of tokens is expected (I am talking about call to replaceTokens function on https://github.com/phpmyadmin/phpmyadmin/blob/master/tbl_export.php#L109). That is the reason aliases are not replaced.

On Sun, Dec 13, 2015 at 11:37 PM, Marc Delisle <marc@infomarc.info> wrote:
Hi Dan,

in tbl_export.php you wrote some logic (lines 116 to 172) that deals
with aliases. Could you give a use case where this logic is important? I
am asking because of

https://github.com/phpmyadmin/phpmyadmin/issues/11679
and
https://github.com/phpmyadmin/phpmyadmin/pull/11738

--
Marc Delisle | phpMyAdmin

_______________________________________________
Developers mailing list
Developers@phpmyadmin.net
https://lists.phpmyadmin.net/mailman/listinfo/developers