From: <ndi...@pr...> - 2002-11-18 20:29:19
|
Update of /cvsroot/modus/org/bacfug/modus/caching In directory sc8-pr-cvs1:/tmp/cvs-serv20530/bacfug/modus/caching Modified Files: serverscopecache.cfc Log Message: (just cleaning up before we move to the new service-based model -- this is more for posterity than anything else). moved the server. stuff into another file Index: serverscopecache.cfc =================================================================== RCS file: /cvsroot/modus/org/bacfug/modus/caching/serverscopecache.cfc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** serverscopecache.cfc 5 Oct 2002 00:51:43 -0000 1.1 --- serverscopecache.cfc 18 Nov 2002 20:29:16 -0000 1.2 *************** *** 7,15 **** <cffunction name="cacheInit" access="public" output="no" returnType="void" hint="Initializes the in-memory cache"> <cfparam name="server.modus" default="#structNew()#"> ! <cfscript> server.modus.contentObjectCache = structNew(); server.modus.contentObjectCache.objectInstances = structNew(); server.modus.contentObjectCache.objectTypes = structNew(); ! </cfscript> </cffunction> --- 7,19 ---- <cffunction name="cacheInit" access="public" output="no" returnType="void" hint="Initializes the in-memory cache"> <cfparam name="server.modus" default="#structNew()#"> ! <cfparam name="server.modus.contentObjectCache" default="#structNew()#"> ! <cfparam name="server.modus.contentObjectCache.objectInstances" default="#structNew()#"> ! <cfparam name="server.modus.contentObjectCache.objectTypes" default="#structNew()#"> ! ! <!--- <cfscript> server.modus.contentObjectCache = structNew(); server.modus.contentObjectCache.objectInstances = structNew(); server.modus.contentObjectCache.objectTypes = structNew(); ! </cfscript> ---> </cffunction> |