Index: trunk/phase3/maintenance/runJobs.php |
— | — | @@ -13,8 +13,6 @@ |
14 | 14 | $optionsWithArgs = array( 'maxjobs', 'type' ); |
15 | 15 | $wgUseNormalUser = true; |
16 | 16 | require_once( 'commandLine.inc' ); |
17 | | -require_once( "$IP/includes/JobQueue.php" ); |
18 | | -require_once( "$IP/includes/FakeTitle.php" ); |
19 | 17 | |
20 | 18 | if ( isset( $options['maxjobs'] ) ) { |
21 | 19 | $maxJobs = $options['maxjobs']; |
Index: trunk/phase3/maintenance/showJobs.php |
— | — | @@ -10,12 +10,7 @@ |
11 | 11 | * @author Ashar Voultoiz |
12 | 12 | */ |
13 | 13 | require_once( 'commandLine.inc' ); |
14 | | -require_once( "$IP/includes/JobQueue.php" ); |
15 | | -require_once( "$IP/includes/FakeTitle.php" ); |
16 | 14 | |
17 | | -// Trigger errors on inappropriate use of $wgTitle |
18 | | -$wgTitle = new FakeTitle; |
19 | | - |
20 | 15 | $dbw = wfGetDB( DB_MASTER ); |
21 | 16 | $count = $dbw->selectField( 'job', 'count(*)', '', 'runJobs.php' ); |
22 | 17 | print $count."\n"; |