diff options
author | xue <> | 2008-02-06 17:24:37 +0000 |
---|---|---|
committer | xue <> | 2008-02-06 17:24:37 +0000 |
commit | abe35ff7bb2b7bdca24ac39e57be7a0b3ed4a330 (patch) | |
tree | b5e38f163a542d398d0757881ee8e933b728e5a8 | |
parent | 4cf602da9d7cd37e49d7e645f49605e141eb05fb (diff) |
Fixed two typos.
-rw-r--r-- | framework/Data/ActiveRecord/TActiveRecordConfig.php | 2 | ||||
-rw-r--r-- | framework/Data/SqlMap/TSqlMapConfig.php | 2 |
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);
}
/**
|