r76227 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76226‎ | r76227 | r76228 >
Date:00:57, 7 November 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r75871, didn't save this file before my last commit >_>
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
@@ -141,7 +141,7 @@
142142 $wgAutoloadClasses['SMWSQLHelpers'] = $smwgIP . 'includes/storage/SMW_SQLHelpers.php';
143143
144144 // To ensure SMW remains compatible with pre 1.16.
145 - if ( !array_key_exists( 'Html', $wgAutoloadLocalClasses ) ) {
 145+ if ( !class_exists( 'Html' ) ) {
146146 $wgAutoloadClasses['Html'] = $smwgIP . 'compat/Html.php';
147147 }
148148

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75871Fixed security issues in Special:Ask, and added a copy of the Html class, so ...jeroendedauw19:53, 2 November 2010

Status & tagging log