[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 3fad23: Refactor some duplicated code