Skip to content

Commit 89a7f2b

Browse files
authored
Removed unused local variable (#1496)
1 parent 6f2c8ee commit 89a7f2b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/core/Mage/Core/Model/Translate.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ protected function _canUseCache()
572572
*/
573573
protected function _getTranslatedString($text, $code)
574574
{
575-
$translated = '';
576575
if (array_key_exists($code, $this->getData())) {
577576
$translated = $this->_data[$code];
578577
} elseif (array_key_exists($text, $this->getData())) {

0 commit comments

Comments
 (0)