Permalink
Browse files

Removed usage of __() for InternalError

  • Loading branch information...
tanuck committed Feb 12, 2015
1 parent 1cb670b commit 3cee029aa76d5e4bea2a041a1a67651535c0c153
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Controller/Component/FlashComponent.php
@@ -108,7 +108,7 @@ public function __call($name, $args) {
$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])) {

0 comments on commit 3cee029

Please sign in to comment.