Removed usage of __() for InternalError

This commit is contained in:
James Tancock 2015-02-12 15:09:18 +00:00
parent 1cb670bdfa
commit 3cee029aa7

View file

@ -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])) {