Skip to content

Commit

Permalink
rolled back r1940 and r1941
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander.makarow committed Mar 21, 2010
1 parent d489279 commit fd5f087
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 36 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG
Expand Up @@ -14,9 +14,8 @@ Version 1.1.2 to be released
- Enh #946: Added a new parameter to CBaseController::widget() method to allow capturing the output of the widget (Qiang)
- Enh #1009: Allow quoted columns in CDbCriteria::select when performing relational query (Qiang)
- Enh: CCaptchaAction now supports unlimited tests by setting its testLimit to be 0 (Qiang)
- New #1005: added CWinCache (Sam Dark)
- New #1005: added CWinCache (Sam Dark)
- Enh #1025: added 'uncheckValue' option to CHtml::radioButton() and CHtml::checkBox() (Jonah)
- Enh: Faster CXCache, CFileCache offset checking (Sam Dark)

Version 1.1.1 March 14, 2010
----------------------------
Expand Down
13 changes: 1 addition & 12 deletions framework/caching/CFileCache.php
Expand Up @@ -214,15 +214,4 @@ protected function gc($expiredOnly=true,$path=null)
}
closedir($handle);
}

/**
* Returns whether there is a cache entry with a specified key.
* This is the implementation of the method declared in the parent class.
* @param string a key identifying the cached value
* @return boolean
*/
public function offsetExists($id)
{
return file_exists($this->getCacheFile($id)) && $this->get($id)!==false;
}
}
}
11 changes: 0 additions & 11 deletions framework/caching/CWinCache.php
Expand Up @@ -104,15 +104,4 @@ public function flush()
{
return wincache_ucache_clear();
}

/**
* Returns whether there is a cache entry with a specified key.
* This is the implementation of the method declared in the parent class.
* @param string a key identifying the cached value
* @return boolean
*/
public function offsetExists($id)
{
return wincache_ucache_exists($id) && $this->get($id)!==false;
}
}
11 changes: 0 additions & 11 deletions framework/caching/CXCache.php
Expand Up @@ -93,16 +93,5 @@ public function flush()
{
return xcache_clear_cache();
}

/**
* Returns whether there is a cache entry with a specified key.
* This is the implementation of the method declared in the parent class.
* @param string a key identifying the cached value
* @return boolean
*/
public function offsetExists($id)
{
return xcache_isset($id) && $this->get($id)!==false;
}
}

0 comments on commit fd5f087

Please sign in to comment.