Updated to use defined constants

This commit is contained in:
Rich Morgan 2014-12-17 15:44:13 -05:00
parent a6b2bac388
commit 01afabb942
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ class Bitpay_Core_Model_Network
public function toOptionArray()
{
return array(
array('value' => self::NETWORK_LIVENET, 'label' => Mage::helper('bitpay')->__('Livenet')),
array('value' => self::NETWORK_TESTNET, 'label' => Mage::helper('bitpay')->__('Testnet')),
array('value' => self::NETWORK_LIVENET, 'label' => Mage::helper('bitpay')->__(ucwords(self::NETWORK_LIVENET))),
array('value' => self::NETWORK_TESTNET, 'label' => Mage::helper('bitpay')->__(ucwords(self::NETWORK_TESTNET))),
);
}
}