Item11453: Convert RenderListPlugin to use preRenderingHandler

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Extension
Component: RenderListPlugin
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy