Skip to content

Commit

Permalink
Removing extra call to unset().
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 18, 2010
1 parent ca8110a commit 8ea4475
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cake/libs/cache.php
Expand Up @@ -156,8 +156,7 @@ public static function drop($name) {
if (!isset(self::$_config[$name])) { if (!isset(self::$_config[$name])) {
return false; return false;
} }
unset(self::$_config[$name]); unset(self::$_config[$name], self::$_engines[$name]);
unset(self::$_engines[$name]);
return true; return true;
} }


Expand Down

0 comments on commit 8ea4475

Please sign in to comment.