Show
Ignore:
Timestamp:
11/21/2009 12:01:15 PM (4 months ago)
Author:
peterfarrell
Message:

- Updated with normal code (I forgot to take this out before)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • framework/1-8-0/trunk/framework/AppManager.cfc

    r1972 r1973  
    305305                hint="Sets the AppLoader instance."> 
    306306                <cfargument name="appLoader" type="MachII.framework.AppLoader" required="true" /> 
    307                 <cfif NOT inModule()> 
    308                         <cfset application[getAppKey()].appLoader = arguments.appLoader /> 
    309                 <cfelse> 
    310                         <cfset application[getAppKey()]["appLoader_" &getModuleName()] = arguments.appLoader  /> 
    311                 </cfif> 
     307                <cfset variables.appLoader = arguments.appLoader /> 
    312308        </cffunction> 
    313309        <cffunction name="getAppLoader" access="public" returntype="MachII.framework.AppLoader" output="false" 
    314310                hint="Returns the AppLoader instance."> 
    315                 <cfif NOT inModule()> 
    316                         <cfreturn application[getAppKey()].appLoader /> 
    317                 <cfelse> 
    318                         <cfreturn application[getAppKey()]["appLoader_" &getModuleName()] /> 
    319                 </cfif> 
     311                <cfreturn variables.appLoader /> 
    320312        </cffunction> 
    321313