Permalink
Browse files

correcting $this -> $self

removing debug code
  • Loading branch information...
1 parent 6b3b2a6 commit 4f3852618f0d08be27704bf8bda5e22e39be5aa2 @AD7six AD7six committed Nov 22, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 cake/libs/cache.php
View
@@ -122,11 +122,10 @@ function config($name = null, $settings = array()) {
$self->__name = $name;
$engine = $self->__config[$name]['engine'];
- if (!isset($this->_engines[$name])) {
+ if (!isset($self->_engines[$name])) {
$self->_buildEngine($name);
$settings = $self->__config[$name] = $self->settings($name);
} elseif ($settings = $self->set($self->__config[$name])) {
- var_dump($settings);
$self->__config[$name] = $settings;
}
return compact('engine', 'settings');

0 comments on commit 4f38526

Please sign in to comment.