[Phpmyadmin-git] [phpmyadmin/phpmyadmin] 697cbf: Simplify code

Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: 697cbf22d587dfadb0ca790ba11516dd894ec584 https://github.com/phpmyadmin/phpmyadmin/commit/697cbf22d587dfadb0ca790ba115... Author: Michal Čihař <michal@cihar.com> Date: 2014-06-10 (Tue, 10 Jun 2014) Changed paths: M libraries/DatabaseInterface.class.php Log Message: ----------- Simplify code foreach on empty list does nothing, so we can skip the initial condition. Signed-off-by: Michal Čihař <michal@cihar.com> Commit: dbd18940bed525f713698c13939c31abc1d1ecd7 https://github.com/phpmyadmin/phpmyadmin/commit/dbd18940bed525f713698c13939c... Author: Michal Čihař <michal@cihar.com> Date: 2014-06-10 (Tue, 10 Jun 2014) Changed paths: M libraries/DatabaseInterface.class.php Log Message: ----------- Remove explicit unsetting of local variables This was useful in global scope, but makes no sense when used inside method as all it's variables are cleaned up anyway. Signed-off-by: Michal Čihař <michal@cihar.com> Compare: https://github.com/phpmyadmin/phpmyadmin/compare/c8eefc22b6f9...dbd18940bed5
participants (1)
-
Michal Čihař