Skip to content

Commit aa6dfad

Browse files
committed
remove unused vars
1 parent a38bbcd commit aa6dfad

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Options
1313
There are two system configuration options under Sales -> Checkout -> Promo Code Error Messages. You can display
1414
additional information about the error (for example, if the customer is not in the correct group for the rule, you can
1515
display the required groups). In addition, error messaging for the more complex condition-based rules can be turned off.
16-
This part is still under active development.
16+
1717

1818
Translations
1919
------------

src/app/code/community/Hackathon/PromoCodeMessages/Model/Validator.php

-2
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ protected function _processRule($condition = array())
272272
$type = $condition['type'];
273273
$ruleType = Mage::getModel($type);
274274
$isCurrency = in_array($attribute, $this->_currency_attributes);
275-
$msgs = array();
276275
$msg = null;
277276

278277
// categories
@@ -320,7 +319,6 @@ protected function _processRule($condition = array())
320319
if ($attribute == $attributeOptionCode) {
321320
$value = $isCurrency ? Mage::helper('core')->currency($value, true, false) : $value;
322321
$msg = sprintf('%s %s <em>%s</em>.', $attributeOptionText, $operatorText, $value);
323-
$msgs[] = $msg;
324322
break;
325323
}
326324
}

0 commit comments

Comments
 (0)