Fixing doc blocks.

This commit is contained in:
mark_story 2009-11-14 20:24:18 -05:00
parent 70820e2e96
commit b7e7eff738
2 changed files with 5 additions and 5 deletions

View file

@ -126,7 +126,7 @@ class Cache {
* Returns an array containing the currently configured Cache settings.
*
* @return array
**/
*/
function configured() {
$_this = Cache::getInstance();
return array_keys($_this->__config);
@ -139,7 +139,7 @@ class Cache {
*
* @param string $name A currently configured cache config you wish to remove.
* @return boolen success of the removal, returns false when the config does not exist.
**/
*/
function drop($name) {
$_this = Cache::getInstance();
if (!isset($_this->__config[$name])) {

View file

@ -75,7 +75,7 @@ class CacheTest extends CakeTestCase {
* test configuring CacheEngines in App/libs
*
* @return void
**/
*/
function testConfigWithLibAndPluginEngines() {
App::build(array(
'libs' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'libs' . DS),
@ -167,7 +167,7 @@ class CacheTest extends CakeTestCase {
* settings
*
* @return void
**/
*/
function testConfigured() {
$result = Cache::configured();
$this->assertTrue(in_array('_cake_core_', $result));
@ -204,7 +204,7 @@ class CacheTest extends CakeTestCase {
* do not work.
*
* @return void
**/
*/
function testUnconfig() {
App::build(array(
'libs' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'libs' . DS),