Removed the object from ClassRegistry. It is not used in 2.0.

This commit is contained in:
Juan Basso 2011-04-12 23:32:26 -04:00
parent 3c703641b0
commit a9aef5600f

View file

@ -1076,7 +1076,6 @@ class CakeEmail {
$msg[] = '--alt-' . $this->_boundary . '--';
$msg[] = '';
ClassRegistry::removeObject('view');
return $msg;
}
@ -1105,10 +1104,7 @@ class CakeEmail {
$this->_textMessage = $rendered;
}
$msg = array_merge($msg, $content);
ClassRegistry::removeObject('view');
return $msg;
return array_merge($msg, $content);
}
}