From d762deeb7bec4f7db9703bdb957975b58c99f307 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Wed, 13 Apr 2011 13:09:17 +0000 Subject: [PATCH] Related to bug 28470 (Doxygen not updating) Move require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) ); to Setup.php Might want relocating in Setup.php though --- includes/Setup.php | 2 ++ includes/normal/UtfNormalUtil.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Setup.php b/includes/Setup.php index dce6d7991b..837740ee61 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -453,6 +453,8 @@ foreach ( $wgExtensionFunctions as $func ) { wfProfileOut( $profName ); } +require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) ); + // For compatibility wfRunHooks( 'LogPageValidTypes', array( &$wgLogTypes ) ); wfRunHooks( 'LogPageLogName', array( &$wgLogNames ) ); diff --git a/includes/normal/UtfNormalUtil.php b/includes/normal/UtfNormalUtil.php index 2df55775e9..e470a8bfb3 100644 --- a/includes/normal/UtfNormalUtil.php +++ b/includes/normal/UtfNormalUtil.php @@ -25,8 +25,6 @@ * @ingroup UtfNormal */ -require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) ); - /** * Return UTF-8 sequence for a given Unicode code point. * May die if fed out of range data. -- 2.20.1