summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-11-27 03:26:34 +0000
committerxue <>2006-11-27 03:26:34 +0000
commitbe7e81cbe08c5df97e9f1614318ce0168935f1b1 (patch)
tree69db1053fa1b73998b75def0b459a2cb0a7e6f8c /framework
parent4a27d5922ee2ffc8a2c881f9c5f3b34d222f81c9 (diff)
revert some change.
Diffstat (limited to 'framework')
-rw-r--r--framework/Data/TDbCommand.php6
1 files changed, 1 insertions, 5 deletions
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)
{