Unused variables in Network removed

This commit is contained in:
evilbloodydemon 2011-04-22 23:49:50 +04:00
parent 255dc1c44b
commit ad73c7038c
3 changed files with 0 additions and 3 deletions

View file

@ -573,7 +573,6 @@ class CakeResponse {
return array_map(array($this, 'mapType'), $ctype);
}
$keys = array_keys($this->_mimeTypes);
$count = count($keys);
foreach ($this->_mimeTypes as $alias => $types) {
if (is_array($types) && in_array($ctype, $types)) {

View file

@ -350,7 +350,6 @@ class HttpResponse implements ArrayAccess {
if ($hex == false) {
return $escape;
}
$regexChars = '';
foreach ($escape as $key => $char) {
$escape[$key] = '\\x' . str_pad(dechex(ord($char)), 2, '0', STR_PAD_LEFT);
}

View file

@ -917,7 +917,6 @@ class HttpSocket extends CakeSocket {
if ($hex == false) {
return $escape;
}
$regexChars = '';
foreach ($escape as $key => $char) {
$escape[$key] = '\\x' . str_pad(dechex(ord($char)), 2, '0', STR_PAD_LEFT);
}