Foswiki on GitHub is open for business! Next release meeting: Monday Dec. 1, 1300Z

Item11453: Convert RenderListPlugin to use preRenderingHandler

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension RenderListPlugin  
Should change this to use preRenderingHandler. Change is simple but without unit tests - don't know what else might break. Everything seems to work fine

diff --git a/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm b/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm
index c6c5fb9..8605791 100755
--- a/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm
+++ b/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm
@@ -72,7 +72,7 @@ sub initPlugin {
 }
 
 # =========================
-sub startRenderingHandler {
+sub preRenderingHandler {
 ### my ( $text, $web ) = @_;   # do not uncomment, use $_[0], $_[1] instead
 
     # This handler is called by getRenderedVersion just before the line loop

-- GeorgeClark - 18 Jan 2012

 
Topic revision: r7 - 11 Apr 2012, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License