Ticket #307: mg3-patch.txt

File mg3-patch.txt, 0.7 kB (added by anonymous, 14 years ago)
Line 
1Index: Controller.cfc
2===================================================================
3--- Controller.cfc      (revision 442)
4+++ Controller.cfc      (working copy)
5@@ -84,10 +84,10 @@
6        </cfif>
7 </cffunction>
8 
9-<cffunction name="RemoveFromCache" access="public" returnType="boolean" output="false" hint="I remove a value from the cache.">
10+<cffunction name="RemoveFromCache" access="public" returnType="void" output="false" hint="I remove a value from the cache.">
11     <cfargument name="name" type="string" required="true" hint="I am the name of the value.">
12 
13-       <cfreturn beans.CacheAdapter.purge("value." & arguments.name) />
14+       <cfset beans.CacheAdapter.purge("value." & arguments.name) />
15 </cffunction>
16 
17 </cfcomponent>