r41396 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41395‎ | r41396 | r41397 >
Date:16:22, 29 September 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
remove obsolete code
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php
@@ -22,7 +22,7 @@
2323 */
2424 function run() {
2525 wfProfileIn('SMWUpdateJob::run (SMW)');
26 - global $wgParser, $smwgHeadItems, $smwgConceptText;
 26+ global $wgParser, $smwgHeadItems;
2727
2828 $linkCache =& LinkCache::singleton();
2929 $linkCache->clear();
@@ -53,11 +53,9 @@
5454 /// manage/copy/restore all SMW globals). The best solution would be to have current globals moved into
5555 /// parser member variables, so that other parsers do not affect one parser's data.
5656 $cur_headitems = $smwgHeadItems;
57 - $cur_conctext = $smwgConceptText;
5857 $smwgHeadItems = array();
5958 $wgParser->parse($revision->getText(), $this->title, $options, true, true, $revision->getID());
6059 $smwgHeadItems = $cur_headitems;
61 - $smwgConceptText = $cur_conctext;
6260
6361 wfProfileOut( __METHOD__.'-parse' );
6462 wfProfileIn( __METHOD__.'-update' );

Status & tagging log