Skip to content

Commit 6cfee33

Browse files
committed
remove unnecessary if
1 parent 2f1b4eb commit 6cfee33

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/Doctrine/DBAL/Driver/PDOSqlsrv/PDOSqlsrvStatement.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,7 @@ public function execute($params = null)
143143
}
144144
}
145145
}
146-
147-
if (! $this->stmt) {
148-
$this->stmt = $this->prepare();
149-
}
150-
146+
151147
$result = $this->stmt->execute($params);
152148
$this->rowCount = $this->rowCount();
153149

0 commit comments

Comments
 (0)