r56390 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56389‎ | r56390 | r56391 >
Date:19:31, 15 September 2009
Author:aaron
Status:deferred
Tags:
Comment:
removed unused function
Modified paths:
  • /trunk/extensions/ReaderFeedback/ReaderFeedback.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ReaderFeedback/ReaderFeedback.class.php
@@ -240,20 +240,6 @@
241241 $html .= '</tr></table>';
242242 return $html;
243243 }
244 -
245 - /**
246 - * Get JS script params for onloading
247 - */
248 - public static function getJSTagParams() {
249 - self::load();
250 - # Param to pass to JS function to know if tags are at quality level
251 - $tagsJS = array();
252 - foreach( self::$dimensions as $tag => $x ) {
253 - $tagsJS[$tag] = self::$minQL[$tag];
254 - }
255 - $params = array( 'tags' => (object)$tagsJS );
256 - return Xml::encodeJsVar( (object)$params );
257 - }
258244
259245 /**
260246 * Get JS script params for onloading
@@ -267,4 +253,3 @@
268254 }
269255
270256 }
271 -

Status & tagging log