From: Niklas Laxström Date: Thu, 5 Feb 2009 08:13:57 +0000 (+0000) Subject: * Remove unneeded includes X-Git-Tag: 1.31.0-rc.0~43037 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=7460b7b7ec594f87d0b81de082fd6a6b90161268;p=lhc%2Fweb%2Fwiklou.git * Remove unneeded includes --- diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index cee9cb1e02..f75b733e9c 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -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']; diff --git a/maintenance/showJobs.php b/maintenance/showJobs.php index d4f68db774..6e38c854c3 100644 --- a/maintenance/showJobs.php +++ b/maintenance/showJobs.php @@ -10,11 +10,6 @@ * @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' );