Small cleanups, simplification and removed no longer needed cast
Merge pull request #416 from kimhemsoe/mysqli_cleanups

Small cleanups, simplification and removed no longer needed cast