MDL-31989: Remove debug variable + add comments to connection.php