r37997 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37996‎ | r37997 | r37998 >
Date:12:51, 24 July 2008
Author:tstarling
Status:old
Tags:
Comment:
Syntax error
Modified paths:
  • /trunk/phase3/includes/AutoLoader.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/AutoLoader.php
@@ -7,7 +7,8 @@
88 # Locations of core classes
99 # Extension classes are specified with $wgAutoloadClasses
1010 # This array is a global instead of a static member of AutoLoader to work around a bug in APC
11 -global $wgAutoloadLocalClasses = array(
 11+global $wgAutoloadLocalClasses;
 12+$wgAutoloadLocalClasses = array(
1213 # Includes
1314 'AjaxDispatcher' => 'includes/AjaxDispatcher.php',
1415 'AjaxResponse' => 'includes/AjaxResponse.php',
@@ -466,7 +467,7 @@
467468
468469 );
469470
470 -class AutoLoader
 471+class AutoLoader {
471472 /**
472473 * autoload - take a class name and attempt to load it
473474 *

Status & tagging log