Skip to content

Commit

Permalink
Removed stupid checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusakov Nikita committed Apr 21, 2014
1 parent 2286a2a commit 5f93a66
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ public function execute($parameters = null)
}
}
}
if (!parent::execute()) {
throw new Exception();
}
parent::execute();

return $this;
}
Expand All @@ -59,9 +57,7 @@ public function execute($parameters = null)
*/
public function closeCursor()
{
if (!parent::closeCursor()) {
throw new Exception();
}
parent::closeCursor();

return $this;
}
Expand Down

0 comments on commit 5f93a66

Please sign in to comment.