* Remove unneeded includes
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 5 Feb 2009 08:13:57 +0000 (08:13 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 5 Feb 2009 08:13:57 +0000 (08:13 +0000)
maintenance/runJobs.php
maintenance/showJobs.php

index cee9cb1..f75b733 100644 (file)
@@ -13,8 +13,6 @@
 $optionsWithArgs = array( 'maxjobs', 'type' );
 $wgUseNormalUser = true;
 require_once( 'commandLine.inc' );
-require_once( "$IP/includes/JobQueue.php" );
-require_once( "$IP/includes/FakeTitle.php" );
 
 if ( isset( $options['maxjobs'] ) ) {
        $maxJobs = $options['maxjobs'];
index d4f68db..6e38c85 100644 (file)
  * @author Ashar Voultoiz
  */
 require_once( 'commandLine.inc' );
-require_once( "$IP/includes/JobQueue.php" );
-require_once( "$IP/includes/FakeTitle.php" );
-
-// Trigger errors on inappropriate use of $wgTitle
-$wgTitle = new FakeTitle;
 
 $dbw = wfGetDB( DB_MASTER );
 $count = $dbw->selectField( 'job', 'count(*)', '', 'runJobs.php' );