Skip to content

Conversation

@amarin15
Copy link
Contributor

@amarin15 amarin15 commented Apr 1, 2012

First of all, I've noticed that the two functions:
PMA_transformation_global_plain($buffer, $options = array(), $meta = '') and
PMA_transformation_global_html($buffer, $options = array(), $meta = '')
are not used anywhere in the project, so I have removed them.

Also, the $meta argument is not used in the third function:
PMA_transformation_global_html_replace($buffer, $options = array(), $meta = '')
so I have removed that argument as well.

The other two commits are for adding a PHPDoc comment to this function and improving readability.

Alex

@lem9
Copy link
Contributor

lem9 commented Apr 1, 2012

I have a little doubt about these two functions being used by custom transformations done by users and incorporated in their instance of phpMyAdmin, but let's remove them!

By the way, I think that the remaining function in global.inc.php could be moved to libraries/transformations.lib.php and global.inc.php could be deleted. If you have time, please have a look.

lem9 pushed a commit that referenced this pull request Apr 1, 2012
Small fixes in libraries/transformations/global.inc.php
@lem9 lem9 merged commit e6f0406 into phpmyadmin:master Apr 1, 2012
@amarin15
Copy link
Contributor Author

amarin15 commented Apr 1, 2012

Done in pull request 12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants