mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removed usage of __() for InternalError
This commit is contained in:
parent
1cb670bdfa
commit
3cee029aa7
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class FlashComponent extends Component {
|
|||
$options = array('element' => Inflector::underscore($name));
|
||||
|
||||
if (count($args) < 1) {
|
||||
throw new InternalErrorException(__('Flash message missing.'));
|
||||
throw new InternalErrorException('Flash message missing.');
|
||||
}
|
||||
|
||||
if (!empty($args[1])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue