From: Domas Mituzas Date: Tue, 6 Jun 2006 11:48:05 +0000 (+0000) Subject: AutoLoad JobQueue X-Git-Tag: 1.31.0-rc.0~56874 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=3fdf040febc4b60a9d03396f123ef57d51fc17be;p=lhc%2Fweb%2Fwiklou.git AutoLoad JobQueue --- diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index bd09502e79..54728582dd 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -119,7 +119,6 @@ class LinksUpdate { if ( $this->mRecursive ) { $tlto = $this->mTitle->getTemplateLinksTo(); if ( count( $tlto ) ) { - require_once( 'JobQueue.php' ); Job::queueLinksJobs( $tlto ); } } @@ -155,7 +154,6 @@ class LinksUpdate { if ( $this->mRecursive ) { $tlto = $this->mTitle->getTemplateLinksTo(); if ( count( $tlto ) ) { - require_once( 'JobQueue.php' ); Job::queueLinksJobs( $tlto ); } } diff --git a/includes/Wiki.php b/includes/Wiki.php index e81e8bc46d..8014e3e55c 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -282,8 +282,6 @@ class MediaWiki { $n = intval( $wgJobRunRate ); } - require_once( 'JobQueue.php' ); - while ( $n-- && false != ($job = Job::pop())) { $output = $job->toString() . "\n"; if ( !$job->run() ) {