Index: trunk/extensions/DontSwitchMeOver/maintenence/post-switchover.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class PostSwitchover extends Maintenance { |
11 | 11 | const REPORTING_INTERVAL = 1000; |
Index: trunk/extensions/ArticleFeedback/populateAFStatistics.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class PopulateAFStatistics extends Maintenance { |
11 | 11 | /** |
Index: trunk/extensions/ArticleFeedback/populateAFRevisions.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class PopulateAFRevisions extends Maintenance { |
11 | 11 | const REPORTING_INTERVAL = 100; |
— | — | @@ -141,4 +141,4 @@ |
142 | 142 | } |
143 | 143 | |
144 | 144 | $maintClass = "PopulateAFRevisions"; |
145 | | -require_once( DO_MAINTENANCE ); |
\ No newline at end of file |
| 145 | +require_once( DO_MAINTENANCE ); |
Index: trunk/extensions/MetricsReporting/MetricsMaintenance.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | abstract class MetricsMaintenance extends Maintenance { |
11 | 11 | private $db; |
Index: trunk/extensions/ContributionReporting/PopulateFundraisingStatistics.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class PopulateFundraisingStatistics extends Maintenance { |
11 | 11 | /** |
Index: trunk/extensions/CentralAuth/CentralAuthPlugin.php |
— | — | @@ -249,5 +249,4 @@ |
250 | 250 | public function getUserInstance( User &$user ) { |
251 | 251 | return CentralAuthUser::getInstance( $user ); |
252 | 252 | } |
253 | | - |
254 | 253 | } |
Index: trunk/extensions/CentralAuth/AntiSpoof/batchCAAntiSpoof.php |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | if ( $IP === false ) { |
7 | 7 | $IP = dirname( __FILE__ ) . '/../../..'; |
8 | 8 | } |
9 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 9 | +require_once( "$IP/maintenance/Maintenance.php" ); |
10 | 10 | |
11 | 11 | class BatchCAAntiSpoof extends BatchAntiSpoof { |
12 | 12 | |
Index: trunk/extensions/TimedMediaHandler/maintenance/WebVideoJobRunner.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | if ( $IP === false ) { |
11 | 11 | $IP = dirname( __FILE__ ) . '/../../..'; |
12 | 12 | } |
13 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 13 | +require_once( "$IP/maintenance/Maintenance.php" ); |
14 | 14 | |
15 | 15 | class WebVideoJobRunner extends Maintenance { |
16 | 16 | // Default number of simultaneous transcoding threads |
Index: trunk/extensions/OpenID/optionToTable.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | if ( $IP === false ) { |
29 | 29 | $IP = dirname( __FILE__ ) . '/../..'; |
30 | 30 | } |
31 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 31 | +require_once( "$IP/maintenance/Maintenance.php" ); |
32 | 32 | |
33 | 33 | class OpenIDOptionToTable extends Maintenance { |
34 | 34 | public function __construct() { |
Index: trunk/extensions/Renameuser/renameUserCleanup.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | if ( $IP === false ) { |
29 | 29 | $IP = dirname( __FILE__ ) . '/../..'; |
30 | 30 | } |
31 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 31 | +require_once( "$IP/maintenance/Maintenance.php" ); |
32 | 32 | |
33 | 33 | class RenameUserCleanup extends Maintenance { |
34 | 34 | public function __construct() { |
Index: trunk/extensions/CodeReview/maintenance/repopulateCodePaths.php |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | if ( $IP === false ) { |
5 | 5 | $IP = dirname( __FILE__ ) . '/../..'; |
6 | 6 | } |
7 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 7 | +require_once( "$IP/maintenance/Maintenance.php" ); |
8 | 8 | |
9 | 9 | class RepopulateCodePaths extends Maintenance { |
10 | 10 | public function __construct() { |
Index: trunk/extensions/CodeReview/maintenance/showEmails.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class CodeReviewShowEmails extends Maintenance { |
11 | 11 | private $EmailData = array( |
Index: trunk/extensions/CodeReview/maintenance/svnImport.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class SvnImport extends Maintenance { |
11 | 11 | |
Index: trunk/extensions/CodeReview/maintenance/populateFollowupRevisions.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class PopulateFollowupRevisions extends Maintenance { |
11 | 11 | public function __construct() { |
— | — | @@ -68,4 +68,4 @@ |
69 | 69 | } |
70 | 70 | |
71 | 71 | $maintClass = "PopulateFollowupRevisions"; |
72 | | -require_once( DO_MAINTENANCE ); |
\ No newline at end of file |
| 72 | +require_once( DO_MAINTENANCE ); |
Index: trunk/extensions/CodeReview/maintenance/bulkStatusUpdate.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class BulkStatusUpdate extends Maintenance { |
11 | 11 | |
Index: trunk/extensions/AntiSpoof/maintenance/generateEquivset.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class GenerateEquivset extends Maintenance { |
11 | 11 | public function execute() { |
Index: trunk/extensions/AntiSpoof/maintenance/batchAntiSpoof.php |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | if ( $IP === false ) { |
7 | 7 | $IP = dirname( __FILE__ ) . '/../../..'; |
8 | 8 | } |
9 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 9 | +require_once( "$IP/maintenance/Maintenance.php" ); |
10 | 10 | |
11 | 11 | class BatchAntiSpoof extends Maintenance { |
12 | 12 | |
Index: trunk/extensions/WikimediaMaintenance/cleanupBug31576.php |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | if ( $IP === false ) { |
5 | 5 | $IP = dirname( __FILE__ ) . '/../..'; |
6 | 6 | } |
7 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 7 | +require_once( "$IP/maintenance/Maintenance.php" ); |
8 | 8 | |
9 | 9 | class CleanupBug31576 extends Maintenance { |
10 | 10 | public function __construct() { |
— | — | @@ -61,4 +61,4 @@ |
62 | 62 | } |
63 | 63 | |
64 | 64 | $maintClass = "CleanupBug31576"; |
65 | | -require_once( RUN_MAINTENANCE_IF_MAIN ); |
\ No newline at end of file |
| 65 | +require_once( RUN_MAINTENANCE_IF_MAIN ); |
Index: trunk/extensions/WikimediaMaintenance/WikimediaMaintenance.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | } |
12 | 12 | |
13 | 13 | // Require base maintenance class |
14 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 14 | +require_once( "$IP/maintenance/Maintenance.php" ); |
15 | 15 | |
16 | 16 | // Some scripts need the WMFSite class, so include that too |
17 | 17 | require( dirname( __FILE__ ) . '/WMFSite.php' ); |
Index: trunk/extensions/ShortUrl/populateShortUrlTable.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class PopulateShortUrlsTable extends Maintenance { |
11 | 11 | public function __construct() { |
Index: trunk/extensions/MoodBar/exportMoodBar.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require_once( "$IP/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class ExportMoodBar extends Maintenance { |
11 | 11 | protected $fields = array( |