removed weird != null comparing

(why are you doing this??)
This commit is contained in:
Steffen Schröder
2014-03-31 21:41:05 +02:00
parent 43badf4baa
commit 2c066f7b62
13 changed files with 22 additions and 22 deletions

View File

@ -119,7 +119,7 @@ class DatabaseConverter { //TODO move bind param before loop everywhere, convert
*/
public function __destruct() {
$this->mysqli->close();
if ($this->sourceMysqli != null) {
if ($this->sourceMysqli) {
$this->sourceMysqli->close();
}
}