[phpMyAdmin Git] [phpmyadmin/phpmyadmin] be9a73: Extract methods to get primary and replica info

Maurício Meneghini Fauth mauricio at fauth.dev
Sat Sep 12 14:07:36 CEST 2020


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: be9a73948ab10af5ca1c4b3830b1426407c9635a
https://github.com/phpmyadmin/phpmyadmin/commit/be9a73948ab10af5ca1c4b3830b1426407c9635a
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2020-09-08 (Tue, 09 September 2020) -03:00

Changed paths: 
M libraries/classes/ReplicationInfo.php

Log Message:
-----------
Extract methods to get primary and replica info

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

Commit: 952e2f9ee851fc70aff892326008f2248c371f43
https://github.com/phpmyadmin/phpmyadmin/commit/952e2f9ee851fc70aff892326008f2248c371f43
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2020-09-08 (Tue, 09 September 2020) -03:00

Changed paths: 
M libraries/classes/Controllers/Server/DatabasesController.php
M libraries/classes/Controllers/Server/Status/StatusController.php
M libraries/classes/ReplicationInfo.php
M test/classes/Controllers/Server/Status/MonitorControllerTest.php
M test/classes/Controllers/Server/Status/ProcessesControllerTest.php
M test/classes/Controllers/Server/Status/QueriesControllerTest.php
M test/classes/Controllers/Server/Status/StatusControllerTest.php
M test/classes/Controllers/Server/Status/VariablesControllerTest.php

Log Message:
-----------
Remove replication_types PHP global

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

Commit: bf2e91f41f507f77508fa92c1fa2d23f58ac27a4
https://github.com/phpmyadmin/phpmyadmin/commit/bf2e91f41f507f77508fa92c1fa2d23f58ac27a4
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2020-09-08 (Tue, 09 September 2020) -03:00

Changed paths: 
M libraries/classes/ReplicationGui.php
M libraries/classes/ReplicationInfo.php
M test/classes/Controllers/Server/Status/StatusControllerTest.php
M test/classes/ReplicationGuiTest.php

Log Message:
-----------
Remove (master|slave)_variables* global variables

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

Commit: fd305ee8b12beb6f31c6bc6e9b9a3a2ce0d856de
https://github.com/phpmyadmin/phpmyadmin/commit/fd305ee8b12beb6f31c6bc6e9b9a3a2ce0d856de
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2020-09-08 (Tue, 09 September 2020) -03:00

Changed paths: 
M libraries/classes/ReplicationInfo.php

Log Message:
-----------
Refactor ReplicationInfo::load

Extracts methods that uses the $dbi global.

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

Commit: cd862d4f0006036d15637c585e7854b9be77c696
https://github.com/phpmyadmin/phpmyadmin/commit/cd862d4f0006036d15637c585e7854b9be77c696
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2020-09-12 (Sat, 09 September 2020) -03:00

Changed paths: 
M libraries/classes/Controllers/Database/StructureController.php
M libraries/classes/Controllers/Server/DatabasesController.php
M libraries/classes/Controllers/Server/ReplicationController.php
M libraries/classes/Controllers/Server/Status/StatusController.php
M libraries/classes/ReplicationGui.php
M libraries/classes/ReplicationInfo.php
M libraries/classes/Server/Status/Data.php
M test/classes/Controllers/Database/StructureControllerTest.php
M test/classes/Controllers/Server/Status/AdvisorControllerTest.php
M test/classes/Controllers/Server/Status/MonitorControllerTest.php
M test/classes/Controllers/Server/Status/ProcessesControllerTest.php
M test/classes/Controllers/Server/Status/QueriesControllerTest.php
M test/classes/Controllers/Server/Status/StatusControllerTest.php
M test/classes/Controllers/Server/Status/VariablesControllerTest.php
M test/classes/ReplicationGuiTest.php
M test/classes/Stubs/DbiDummy.php

Log Message:
-----------
Remove replication_info global variable

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

Commit: 40d2a1c605a07bd298fb215fb4ccfd8a3f13e0aa
https://github.com/phpmyadmin/phpmyadmin/commit/40d2a1c605a07bd298fb215fb4ccfd8a3f13e0aa
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2020-09-12 (Sat, 09 September 2020) -03:00

Changed paths: 
M libraries/classes/Controllers/Database/StructureController.php
M libraries/classes/Controllers/Server/DatabasesController.php
M libraries/classes/Controllers/Server/ReplicationController.php
M libraries/classes/Controllers/Server/Status/StatusController.php
M libraries/classes/ReplicationGui.php
M libraries/classes/ReplicationInfo.php
M libraries/classes/Server/Status/Data.php
M test/classes/Controllers/Database/StructureControllerTest.php
M test/classes/Controllers/Server/Status/AdvisorControllerTest.php
M test/classes/Controllers/Server/Status/MonitorControllerTest.php
M test/classes/Controllers/Server/Status/ProcessesControllerTest.php
M test/classes/Controllers/Server/Status/QueriesControllerTest.php
M test/classes/Controllers/Server/Status/StatusControllerTest.php
M test/classes/Controllers/Server/Status/VariablesControllerTest.php
M test/classes/ReplicationGuiTest.php
M test/classes/Stubs/DbiDummy.php

Log Message:
-----------
Merge pull request #16338 from mauriciofauth/replication

Refactor the ReplicationInfo class



More information about the Git mailing list