Index: trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | */ |
24 | 24 | function run() { |
25 | 25 | wfProfileIn('SMWUpdateJob::run (SMW)'); |
26 | | - global $wgParser, $smwgHeadItems, $smwgConceptText; |
| 26 | + global $wgParser, $smwgHeadItems; |
27 | 27 | |
28 | 28 | $linkCache =& LinkCache::singleton(); |
29 | 29 | $linkCache->clear(); |
— | — | @@ -53,11 +53,9 @@ |
54 | 54 | /// manage/copy/restore all SMW globals). The best solution would be to have current globals moved into |
55 | 55 | /// parser member variables, so that other parsers do not affect one parser's data. |
56 | 56 | $cur_headitems = $smwgHeadItems; |
57 | | - $cur_conctext = $smwgConceptText; |
58 | 57 | $smwgHeadItems = array(); |
59 | 58 | $wgParser->parse($revision->getText(), $this->title, $options, true, true, $revision->getID()); |
60 | 59 | $smwgHeadItems = $cur_headitems; |
61 | | - $smwgConceptText = $cur_conctext; |
62 | 60 | |
63 | 61 | wfProfileOut( __METHOD__.'-parse' ); |
64 | 62 | wfProfileIn( __METHOD__.'-update' ); |