diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-02-18 16:19:41 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-02-18 16:19:41 -0800 |
commit | d3e07f8a97627a500bad07ce0a68ac91a766ccd4 (patch) | |
tree | 31351fcf8b7de8c583420021118a26b6029b529f | |
parent | 22bc871e2b04633c7c50bdd86ae73c8e41aaaaae (diff) |
Revert "Fix for ticket #1017: Handle the common case of t(html::clean($var)) by casting SafeString instances to string in translate()."
This reverts commit 4ca55a90ee2f8e1d8595b0ec53a601d6c65475f6.
-rw-r--r-- | modules/gallery/libraries/Gallery_I18n.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/gallery/libraries/Gallery_I18n.php b/modules/gallery/libraries/Gallery_I18n.php index 26d1de2c..ac0588e3 100644 --- a/modules/gallery/libraries/Gallery_I18n.php +++ b/modules/gallery/libraries/Gallery_I18n.php @@ -131,9 +131,6 @@ class Gallery_I18n_Core { $count = isset($options['count']) ? $options['count'] : null; $values = $options; unset($values['locale']); - if ($message instanceof SafeString) { - $message = (string) $message; - } $this->log($message, $options); $entry = $this->lookup($locale, $message); |