summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
/**