summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2008-02-06 17:24:37 +0000
committerxue <>2008-02-06 17:24:37 +0000
commitabe35ff7bb2b7bdca24ac39e57be7a0b3ed4a330 (patch)
treeb5e38f163a542d398d0757881ee8e933b728e5a8 /framework
parent4cf602da9d7cd37e49d7e645f49605e141eb05fb (diff)
Fixed two typos.
Diffstat (limited to 'framework')
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordConfig.php2
-rw-r--r--framework/Data/SqlMap/TSqlMapConfig.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Data/ActiveRecord/TActiveRecordConfig.php b/framework/Data/ActiveRecord/TActiveRecordConfig.php
index 3f16287d..4a2184ac 100644
--- a/framework/Data/ActiveRecord/TActiveRecordConfig.php
+++ b/framework/Data/ActiveRecord/TActiveRecordConfig.php
@@ -93,7 +93,7 @@ class TActiveRecordConfig extends TDataSourceConfig
*/
public function setEnableCache($value)
{
- $this->_enableCache = TPropertyValue::ensureBoolean($value, false);
+ $this->_enableCache = TPropertyValue::ensureBoolean($value);
}
/**
diff --git a/framework/Data/SqlMap/TSqlMapConfig.php b/framework/Data/SqlMap/TSqlMapConfig.php
index ea5f5c38..5ee4de54 100644
--- a/framework/Data/SqlMap/TSqlMapConfig.php
+++ b/framework/Data/SqlMap/TSqlMapConfig.php
@@ -117,7 +117,7 @@ class TSqlMapConfig extends TDataSourceConfig
*/
public function setEnableCache($value)
{
- $this->_enableCache = TPropertyValue::ensureBoolean($value, false);
+ $this->_enableCache = TPropertyValue::ensureBoolean($value);
}
/**