From 5f93a66c93d09292dabb9e4ef0d8fcaa290a4814 Mon Sep 17 00:00:00 2001 From: Gusakov Nikita Date: Mon, 21 Apr 2014 23:10:36 +0400 Subject: [PATCH] Removed stupid checks --- src/Statement.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Statement.php b/src/Statement.php index d1059bc..fcd28cf 100644 --- a/src/Statement.php +++ b/src/Statement.php @@ -46,9 +46,7 @@ public function execute($parameters = null) } } } - if (!parent::execute()) { - throw new Exception(); - } + parent::execute(); return $this; } @@ -59,9 +57,7 @@ public function execute($parameters = null) */ public function closeCursor() { - if (!parent::closeCursor()) { - throw new Exception(); - } + parent::closeCursor(); return $this; }