Skip to content

Commit

Permalink
Removed the object from ClassRegistry. It is not used in 2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Apr 13, 2011
1 parent 3c70364 commit a9aef56
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/Cake/Network/CakeEmail.php
Expand Up @@ -1076,7 +1076,6 @@ protected function _render($content) {
$msg[] = '--alt-' . $this->_boundary . '--';
$msg[] = '';

ClassRegistry::removeObject('view');
return $msg;
}

Expand Down Expand Up @@ -1105,10 +1104,7 @@ protected function _render($content) {
$this->_textMessage = $rendered;
}

$msg = array_merge($msg, $content);
ClassRegistry::removeObject('view');

return $msg;
return array_merge($msg, $content);
}

}

0 comments on commit a9aef56

Please sign in to comment.