Skip to content

Commit f66e14d

Browse files
committed
COLDBOX-1386 #resolve
Renaming of dedicated cf variables and entries, to engine agnostic ones for Boxlang
1 parent 59961bc commit f66e14d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

system/web/services/ModuleService.cfc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ component extends="coldbox.system.web.services.BaseService" accessors="true" {
2222
property name="moduleRegistry";
2323

2424
/**
25-
* CF Mapping registry Dictionary
25+
* Engine Mapping registry Dictionary
2626
*/
27-
property name="cfmappingRegistry";
27+
property name="mappingRegistry";
2828

2929
/**
3030
* App config overrides registry
@@ -43,7 +43,7 @@ component extends="coldbox.system.web.services.BaseService" accessors="true" {
4343
variables.logger = "";
4444
variables.mConfigCache = {};
4545
variables.moduleRegistry = structNew( "ordered" );
46-
variables.cfmappingRegistry = {};
46+
variables.mappingRegistry = {};
4747
variables.appConfigModules = {};
4848

4949
return this;
@@ -484,7 +484,7 @@ component extends="coldbox.system.web.services.BaseService" accessors="true" {
484484
// TODO: If a duplicate mapping is detected, warn it to logs
485485
if ( len( trim( mConfig.cfMapping ) ) ) {
486486
variables.util.addMapping( name = mConfig.cfMapping, path = mConfig.path );
487-
variables.cfmappingRegistry[ "/#mConfig.cfMapping#" ] = mConfig.path;
487+
variables.mappingRegistry[ "/#mConfig.cfMapping#" ] = mConfig.path;
488488
}
489489

490490
// Register Custom Interception Points
@@ -564,7 +564,7 @@ component extends="coldbox.system.web.services.BaseService" accessors="true" {
564564
* Load all module mappings
565565
*/
566566
function loadMappings(){
567-
variables.util.addMapping( mappings = variables.cfmappingRegistry );
567+
variables.util.addMapping( mappings = variables.mappingRegistry );
568568
return this;
569569
}
570570

0 commit comments

Comments
 (0)