Chris Scott wrote:
Sorry guys, I think that one plugin is actually not supposed to be there. All the functionality is in the coldspringPlugin.cfc, just ignore the ColdSpringMachiiConfigPlugin. That was the first one written, then I rolled the functionality into the standard plugin and cleaned it up. That's my mistake that the original plugin is even there in the first place. Sorry!
I found there is little optimization trick for the plugins section of the coldspringPlugin.cfc as well. In the getPlugins method, you get a struct from the Mach-II plugin manager via method injection and loop over it to create an array. However, the loop is unnecessary since the Mach-II's pluginManager already has a contains an array of plugin names called variables.pluginArray (I know it's in 1.1.0 and 1.0.10). I don't have an older version of Mach-II any more - so you would have to check for BC - however, anybody running something older than 1.0.10 is probably should have upgrade to that by now (almost a year).
-- Peter J. Farrell :: Maestro Publishing http://blog.maestropublishing.com Rooibos Generator - Version 2.1 Create boilerplate beans and transfer objects for ColdFusion for free! http://rooibos.maestropublishing.com/ Member Team Mach-II - It's coming...we're in a code freeze!
