r111704 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111703‎ | r111704 | r111705 >
Date:23:58, 16 February 2012
Author:wikinaut
Status:deferred
Tags:
Comment:
added paranoid () in the if(); corrected version number
Modified paths:
  • /trunk/extensions/Suhosin/Suhosin.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Suhosin/Suhosin.php
@@ -37,7 +37,7 @@
3838 'path' => __FILE__,
3939 'name' => 'Suhosin',
4040 'author' => array( 'Thomas Gries' ),
41 - 'version' => '1.08 20120215',
 41+ 'version' => '1.00 20120217',
4242 'url' => 'https://www.mediawiki.org/wiki/Extension:Suhosin',
4343 'descriptionmsg' => 'suhosin-desc',
4444 );
@@ -55,7 +55,7 @@
5656 if ( extension_loaded( "suhosin" )
5757 && ini_get( "suhosin.get.max_name_length" )
5858 && isset( $wgResourceLoaderMaxQueryLength )
59 - && $wgResourceLoaderMaxQueryLength > 0 ) {
 59+ && ( $wgResourceLoaderMaxQueryLength > 0 ) ) {
6060
6161 // suhosin is active, thus do something meaningful with ini_get( "suhosin.get.max_name_length" )
6262 $wgResourceLoaderMaxQueryLength = min( $wgResourceLoaderMaxQueryLength, ini_get( "suhosin.get.max_name_length" ) );

Status & tagging log