[phpMyAdmin Git] [phpmyadmin/phpmyadmin] a0337b: Refactor `JavaScriptMessagesController` controller

Maurício Meneghini Fauth mauricio at fauth.dev
Mon Feb 14 22:15:14 CET 2022


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: a0337bf22068e63b15029e8d4323285f53795ff4
https://github.com/phpmyadmin/phpmyadmin/commit/a0337bf22068e63b15029e8d4323285f53795ff4
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2022-02-14 (Mon, 02 February 2022) -03:00

Changed paths: 
M js/src/makegrid.js
M libraries/classes/Controllers/JavaScriptMessagesController.php
M libraries/classes/Header.php
M templates/javascript/variables.twig
M test/classes/Controllers/JavaScriptMessagesControllerTest.php

Log Message:
-----------
Refactor `JavaScriptMessagesController` controller

- Removes the dependency of the cfg and theme PHP globals.
- Handles the errors when encoding the messages to JSON.

Signed-off-by: Maurício Meneghini Fauth <mauricio at fauth.dev>



More information about the Git mailing list