diff options
author | xue <> | 2006-03-09 02:18:49 +0000 |
---|---|---|
committer | xue <> | 2006-03-09 02:18:49 +0000 |
commit | 36b52fa8ecbcd3b1559a1f49cbfdb4bf413e2773 (patch) | |
tree | 4209096a817a434f34710ee1e7a56f6c04067933 /framework/Data/TMemCache.php | |
parent | dfc35208915df9d4c054113a6a3fba86d72c4db1 (diff) |
Many small fixes due to the result of zend analyzer.
Diffstat (limited to 'framework/Data/TMemCache.php')
-rw-r--r-- | framework/Data/TMemCache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Data/TMemCache.php b/framework/Data/TMemCache.php index b2b1643d..4a8527c8 100644 --- a/framework/Data/TMemCache.php +++ b/framework/Data/TMemCache.php @@ -201,7 +201,7 @@ class TMemCache extends TModule implements ICache */
public function add($key,$value,$expiry=0)
{
- return $this->_cache->add($this->generateUniqueKey($key),$value,0,$expire);
+ return $this->_cache->add($this->generateUniqueKey($key),$value,0,$expiry);
}
/**
@@ -217,7 +217,7 @@ class TMemCache extends TModule implements ICache */
public function replace($key,$value,$expiry=0)
{
- return $this->_cache->replace($this->generateUniqueKey($key),$value,0,$expire);
+ return $this->_cache->replace($this->generateUniqueKey($key),$value,0,$expiry);
}
/**
|