Index: trunk/phase3/maintenance/language/generateCollationData.php |
— | — | @@ -377,5 +377,5 @@ |
378 | 378 | } |
379 | 379 | |
380 | 380 | $maintClass = 'GenerateCollationData'; |
381 | | -require_once( DO_MAINTENANCE ); |
| 381 | +require_once( RUN_MAINTENANCE_IF_MAIN ); |
382 | 382 | |
Index: trunk/phase3/maintenance/preprocessDump.php |
— | — | @@ -144,5 +144,5 @@ |
145 | 145 | } |
146 | 146 | |
147 | 147 | $maintClass = "PreprocessDump"; |
148 | | -require_once( DO_MAINTENANCE ); |
| 148 | +require_once( RUN_MAINTENANCE_IF_MAIN ); |
149 | 149 | |
Index: trunk/tools/code-utils/check-vars.php |
— | — | @@ -649,7 +649,7 @@ |
650 | 650 | //$this->warning( "require uses unknown variable {$token[1]} in line {$token[2]}" ); |
651 | 651 | $requirePath .= $token[1]; |
652 | 652 | } |
653 | | - } elseif ( $token[0] == T_STRING && $token[1] == 'DO_MAINTENANCE' ) { |
| 653 | + } elseif ( $token[0] == T_STRING && $token[1] == 'RUN_MAINTENANCE_IF_MAIN' ) { |
654 | 654 | $requirePath .= "$IP/maintenance/doMaintenance.php"; |
655 | 655 | } elseif ( $token[0] == T_STRING && $token[1] == 'MW_CONFIG_FILE' ) { |
656 | 656 | $requirePath .= "$IP/LocalSettings.php"; |