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:
parent
46b7eedd5d
commit
f76f469289
@ -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>';
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user