[phpMyAdmin Git] [phpmyadmin/phpmyadmin] c6bb86: Revert to old behavior for `ShowServerInfo`

Andrija Vučinić andrija.vucinic at gmail.com
Mon Jun 6 21:30:39 CEST 2022


Branch: refs/heads/QA_5_2
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: c6bb86778797bc25891ef07106bf71d48881fbac
https://github.com/phpmyadmin/phpmyadmin/commit/c6bb86778797bc25891ef07106bf71d48881fbac
Author: Andrija Vučinić <andrija.vucinic at gmail.com>
Date: 2022-05-11 (Wed, 05 May 2022) +02:00

Changed paths: 
M libraries/classes/Controllers/HomeController.php

Log Message:
-----------
Revert to old behavior for `ShowServerInfo`

Seems we changed the flag behavior here: https://github.com/phpmyadmin/phpmyadmin/commit/cd1b8a9b770b9e8e4589e5de808ead4ab781595b#diff-bb8d8aecc2e174245e8b95be9344176aba8971d024f3b2c2311b8e58ddd59b31L149

I'm not sure whether that was intentional, but it causes the `Database server` panel to always show compared to pre 5.2.0.

Truth be told, it doesn't make sense to have that flag and then the additional checks in the block when we know it's `true`, so I updated the code to take care of that.

Signed-off-by: Andrija Vučinić <andrija.vucinic at gmail.com>

Commit: fcea0f39e8a8ec5bec1d5254be4157f10fcd5382
https://github.com/phpmyadmin/phpmyadmin/commit/fcea0f39e8a8ec5bec1d5254be4157f10fcd5382
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2022-06-06 (Mon, 06 June 2022) -03:00

Changed paths: 
M libraries/classes/Controllers/HomeController.php

Log Message:
-----------
Merge pull request #17517 from aidvu/patch-2

Revert to old behavior for `ShowServerInfo`



More information about the Git mailing list