Avoid using print as method name

This seems to confuse some parsers as print is keyword.

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-09-13 09:05:10 +02:00
parent 46b7eedd5d
commit f76f469289
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ if ($response->isAjax() && ! empty($_REQUEST['recent_table'])) {
if ($GLOBALS['PMA_Config']->isGitRevision()) {
if (isset($_REQUEST['git_revision']) && $response->isAjax()) {
GitRevision::print();
GitRevision::display();
exit;
}
echo '<div id="is_git_revision"></div>';

View File

@ -23,7 +23,7 @@ class GitRevision
*
* @return void
*/
public static function print()
public static function display()
{
if (! $GLOBALS['PMA_Config']->get('PMA_VERSION_GIT')) {
$response = Response::getInstance();