Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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.

  • No labels