Right now In-Portal code has checks for "In-Commerce" module inside it. Instead we should rather check for unit presence (via kApplication::prefixRegistered
method) instead of module, that right now has this unit.
In long term this would also save us time when we'll be splitting In-Portal into smaller modules.
Before
application.php
if ( $currency_iso === false ) { if ( $this->isModuleEnabled('In-Commerce') ) {
After
application.php
if ( $currency_iso === false ) { if ( $this->prefixRegistred('curr') ) {
Related Tasks
Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.