From: Aaron Schulz Date: Mon, 25 Jul 2011 20:20:13 +0000 (+0000) Subject: Removed code lost in r93105, wtf. X-Git-Tag: 1.31.0-rc.0~28629 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=92cc0f4fd2cad9efda4575a040cc26801063e5d9;p=lhc%2Fweb%2Fwiklou.git Removed code lost in r93105, wtf. --- diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 7be3b3d80d..fad4efb0da 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -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"