Skip to content

Commit

Permalink
Removing non-used extract() from missingDatabase()
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8000 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information
renan committed Jan 15, 2009
1 parent 157ee1e commit 9aabc8c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion cake/console/error.php
Expand Up @@ -136,7 +136,6 @@ function missingTable($params) {
* @access public
*/
function missingDatabase($params = array()) {
extract($params, EXTR_OVERWRITE);
$this->stderr(__("Missing Database", true));
$this->_stop();
}
Expand Down
3 changes: 1 addition & 2 deletions cake/libs/cache.php
Expand Up @@ -213,8 +213,7 @@ function set($settings = array(), $value = null) {
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
Expand Down
2 changes: 0 additions & 2 deletions cake/libs/error.php
Expand Up @@ -230,8 +230,6 @@ function missingTable($params) {
* @access public
*/
function missingDatabase($params = array()) {
extract($params, EXTR_OVERWRITE);

$this->controller->set(array(
'title' => __('Scaffold Missing Database Connection', true)
));
Expand Down

0 comments on commit 9aabc8c

Please sign in to comment.