removed weird != null comparing
(why are you doing this??)
This commit is contained in:
1 parent
43badf4baa
commit
2c066f7b62
13 files changed
+22
-22
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user