...
In long term this would also save us time when we'll be splitting In-Portal into smaller modules.
Before
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
if ( $currency_iso === false ) {
if ( $this->isModuleEnabled('In-Commerce') ) { |
After
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
if ( $currency_iso === false ) {
if ( $this->prefixRegistred('curr') ) { |