Removed code lost in r93105, wtf.
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 25 Jul 2011 20:20:13 +0000 (20:20 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 25 Jul 2011 20:20:13 +0000 (20:20 +0000)
maintenance/Maintenance.php

index 7be3b3d..fad4efb 100644 (file)
@@ -146,7 +146,7 @@ abstract class Maintenance {
                if ( $bt[0]['class'] !== 'Maintenance' || $bt[0]['function'] !== 'shouldExecute' ) {
                        return false; // last call should be to this function
                }
-               $includeFuncs = array( 'require_once', 'require', 'include' );
+               $includeFuncs = array( 'require_once', 'require', 'include', 'include_once' );
                for( $i=1; $i < $count; $i++ ) {
                        if ( !in_array( $bt[$i]['function'], $includeFuncs ) ) {
                                return false; // previous calls should all be "requires"