From eca964657e7cd23ab5e7b6ac3955509c8ec59467 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 20 Feb 2009 23:15:36 +0000 Subject: [PATCH] Removed useless code --- htdocs/translate.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/translate.class.php b/htdocs/translate.class.php index 4425abcab77..0987c61b6a3 100644 --- a/htdocs/translate.class.php +++ b/htdocs/translate.class.php @@ -249,7 +249,7 @@ class Translate { if ($ligne[0] != "\n" && $ligne[0] != " " && $ligne[0] != "#") { $tab=split('=',$ligne,2); - $key=trim($tab[0]); $value=''; + $key=trim($tab[0]); //print "Domain=$domain, found a string for $tab[0] with value $tab[1]
"; //if (! $this->getTransFromTab($key)) if (empty($this->tab_translate[$key]) && isset($tab[1])) @@ -383,7 +383,6 @@ class Translate { { global $db; $newstr=$this->getLabelFromKey($db,$reg[1],'c_currencies','code_iso','label'); - //print "xxx".$key."-".$value."\n"; } else if (eregi('SendingMethod([0-9A-Z]+)$',$key,$reg)) {