From 3cee029aa76d5e4bea2a041a1a67651535c0c153 Mon Sep 17 00:00:00 2001 From: James Tancock Date: Thu, 12 Feb 2015 15:09:18 +0000 Subject: [PATCH] Removed usage of __() for InternalError --- lib/Cake/Controller/Component/FlashComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Controller/Component/FlashComponent.php b/lib/Cake/Controller/Component/FlashComponent.php index d70388e6f..5c382d299 100644 --- a/lib/Cake/Controller/Component/FlashComponent.php +++ b/lib/Cake/Controller/Component/FlashComponent.php @@ -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])) {