From be7e81cbe08c5df97e9f1614318ce0168935f1b1 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 27 Nov 2006 03:26:34 +0000 Subject: revert some change. --- framework/Data/TDbCommand.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'framework/Data/TDbCommand.php') diff --git a/framework/Data/TDbCommand.php b/framework/Data/TDbCommand.php index 82e46a25..98bb31ea 100644 --- a/framework/Data/TDbCommand.php +++ b/framework/Data/TDbCommand.php @@ -177,11 +177,7 @@ class TDbCommand extends TComponent return $this->_statement->rowCount(); } else - { - $int = $this->getConnection()->getPdoInstance()->exec($this->getText()); - var_dump($int); - return $int; - } + return $this->getConnection()->getPdoInstance()->exec($this->getText()); } catch(Exception $e) { -- cgit v1.2.3