From 9df4a0c5d1bc3b191ad477211eeec5c395e1ef61 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 25 Jan 2011 14:51:45 -0700 Subject: [PATCH] Revert "Bug #9539: Correct translations for application names" This reverts commit 9514d8c72c0ccda884094e3bdecfa2a6911d0264. --- framework/Core/lib/Horde/Registry.php | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index f0ae1e129..fb18ef80c 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -1458,17 +1458,9 @@ class Horde_Registry : (isset($this->applications['horde'][$parameter]) ? $this->applications['horde'][$parameter] : null); } - if ($parameter != 'name') { - return $pval; - } - - $pushed = $this->pushApp('horde'); - $pval = _($pval); - if ($pushed) { - $this->popApp(); - } - - return $pval; + return ($parameter == 'name') + ? _($pval) + : $pval; } /** -- 2.11.0