r93107 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93106‎ | r93107 | r93108 >
Date:20:20, 25 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed code lost in r93105, wtf.
Modified paths:
  • /trunk/phase3/maintenance/Maintenance.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/Maintenance.php
@@ -146,7 +146,7 @@
147147 if ( $bt[0]['class'] !== 'Maintenance' || $bt[0]['function'] !== 'shouldExecute' ) {
148148 return false; // last call should be to this function
149149 }
150 - $includeFuncs = array( 'require_once', 'require', 'include' );
 150+ $includeFuncs = array( 'require_once', 'require', 'include', 'include_once' );
151151 for( $i=1; $i < $count; $i++ ) {
152152 if ( !in_array( $bt[$i]['function'], $includeFuncs ) ) {
153153 return false; // previous calls should all be "requires"

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93105Make Chad happy ;)aaron20:11, 25 July 2011

Status & tagging log