mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
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:
parent
157ee1efbf
commit
9aabc8c893
3 changed files with 1 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
));
|
||||
|
|
Loading…
Add table
Reference in a new issue