[phpMyAdmin Git] [phpmyadmin/phpmyadmin] c9bcda: Simplify the if statement

Kamil Tekiela tekiela246 at gmail.com
Fri Nov 26 14:15:36 CET 2021


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: c9bcda3212b85b197b9a0295995d1e91e30fc81c
https://github.com/phpmyadmin/phpmyadmin/commit/c9bcda3212b85b197b9a0295995d1e91e30fc81c
Author: Kamil Tekiela <tekiela246 at gmail.com>
Date: 2021-11-25 (Thu, 11 November 2021) +00:00

Changed paths: 
M libraries/classes/Dbal/DbiMysqli.php

Log Message:
-----------
Simplify the if statement

The value of MYSQLI_STORE_RESULT is 0, so the else block was redundant.

Signed-off-by: Kamil Tekiela <tekiela246 at gmail.com>

Commit: 83e6d06d0994a772881b7e2dc85840d8b56a71b4
https://github.com/phpmyadmin/phpmyadmin/commit/83e6d06d0994a772881b7e2dc85840d8b56a71b4
Author: Kamil Tekiela <tekiela246 at gmail.com>
Date: 2021-11-25 (Thu, 11 November 2021) +00:00

Changed paths: 
M libraries/classes/Dbal/DbiMysqli.php

Log Message:
-----------
Remove redundant check

This method never returns false.

Signed-off-by: Kamil Tekiela <tekiela246 at gmail.com>

Commit: fd37314a173ebbb78c88179d0a2065d93b615dae
https://github.com/phpmyadmin/phpmyadmin/commit/fd37314a173ebbb78c88179d0a2065d93b615dae
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2021-11-26 (Fri, 11 November 2021) -03:00

Changed paths: 
M libraries/classes/Dbal/DbiMysqli.php

Log Message:
-----------
Merge pull request #17206 from kamil-tekiela/Refactor-DbiMysqli

Refactor DbiMysqli.php and remove redundant code



More information about the Git mailing list