mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Removing extra call to unset().
This commit is contained in:
parent
ca8110ad32
commit
8ea4475ac3
1 changed files with 1 additions and 2 deletions
|
@ -156,8 +156,7 @@ class Cache {
|
|||
if (!isset(self::$_config[$name])) {
|
||||
return false;
|
||||
}
|
||||
unset(self::$_config[$name]);
|
||||
unset(self::$_engines[$name]);
|
||||
unset(self::$_config[$name], self::$_engines[$name]);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue