mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Removed the object from ClassRegistry. It is not used in 2.0.
This commit is contained in:
parent
3c703641b0
commit
a9aef5600f
1 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue