Skip to content

Commit

Permalink
Remove unused code paths.
Browse files Browse the repository at this point in the history
I couldn't find a test for this loop case so I'm removing it.
  • Loading branch information
markstory committed May 29, 2014
1 parent 006b96b commit 98e4f25
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Controller/Component/CookieComponent.php
Expand Up @@ -376,13 +376,7 @@ protected function _decrypt($values, $mode) {

$decrypted = array();
foreach ($values as $name => $value) {
if (is_array($value)) {
foreach ($value as $key => $val) {
$decrypted[$name][$key] = $this->_decode($val, $mode);
}
} else {
$decrypted[$name] = $this->_decode($value, $mode);
}
$decrypted[$name] = $this->_decode($value, $mode);
}
return $decrypted;
}
Expand Down

0 comments on commit 98e4f25

Please sign in to comment.