http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58977

Revision: 58977
Author:   siebrand
Date:     2009-11-12 22:12:55 +0000 (Thu, 12 Nov 2009)

Log Message:
-----------
Shut up more PHP notices for non-initialised variables.
All three parameters removed are optional: function showThread( $thread, 
$levelNum = 1, $totalInLevel = 1, $options = array() )

Modified Paths:
--------------
    trunk/extensions/LiquidThreads/api/ApiThreadAction.php

Modified: trunk/extensions/LiquidThreads/api/ApiThreadAction.php
===================================================================
--- trunk/extensions/LiquidThreads/api/ApiThreadAction.php      2009-11-12 
22:07:34 UTC (rev 58976)
+++ trunk/extensions/LiquidThreads/api/ApiThreadAction.php      2009-11-12 
22:12:55 UTC (rev 58977)
@@ -511,7 +511,7 @@
                $title = $article->getTitle();
                $view = new LqtView( $wgOut, $article, $title, $wgUser, 
$wgRequest );
                
-               $view->showThread( $thread, 1, $rendercount, $options );
+               $view->showThread( $thread );
 
                $result = $wgOut->getHTML();
                $wgOut->clearHTML();



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to