Skip to content

Commit

Permalink
Removed unused local variable (#1496)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekiphp authored Mar 12, 2021
1 parent 6f2c8ee commit 89a7f2b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/code/core/Mage/Core/Model/Translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,6 @@ protected function _canUseCache()
*/
protected function _getTranslatedString($text, $code)
{
$translated = '';
if (array_key_exists($code, $this->getData())) {
$translated = $this->_data[$code];
} elseif (array_key_exists($text, $this->getData())) {
Expand Down

0 comments on commit 89a7f2b

Please sign in to comment.