Removing non-used extract() from missingDatabase()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8000 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
renan.saddam 2009-01-15 02:33:50 +00:00
parent 157ee1efbf
commit 9aabc8c893
3 changed files with 1 additions and 5 deletions

View file

@ -136,7 +136,6 @@ class ErrorHandler extends Object {
* @access public
*/
function missingDatabase($params = array()) {
extract($params, EXTR_OVERWRITE);
$this->stderr(__("Missing Database", true));
$this->_stop();
}

View file

@ -213,8 +213,7 @@ class Cache extends Object {
function gc() {
$_this =& Cache::getInstance();
$config = $_this->config();
extract($config);
$_this->_Engine[$engine]->gc();
$_this->_Engine[$config['engine']]->gc();
}
/**
* Write data for key into cache

View file

@ -230,8 +230,6 @@ class ErrorHandler extends Object {
* @access public
*/
function missingDatabase($params = array()) {
extract($params, EXTR_OVERWRITE);
$this->controller->set(array(
'title' => __('Scaffold Missing Database Connection', true)
));