Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStoreLight.php |
— | — | @@ -405,11 +405,6 @@ |
406 | 406 | } |
407 | 407 | $titles = Title::newFromIDs( $tids ); |
408 | 408 | foreach ( $titles as $title ) { |
409 | | - // set $wgTitle, in case semantic data is set based |
410 | | - // on values not originating from the page (such as |
411 | | - // via the External Data extension) |
412 | | - global $wgTitle; |
413 | | - $wgTitle = $title; |
414 | 409 | if ( ( $namespaces == false ) || ( in_array( $title->getNamespace(), $namespaces ) ) ) { |
415 | 410 | $updatejobs[] = new SMWUpdateJob( $title ); |
416 | 411 | $emptyrange = false; |
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php |
— | — | @@ -1502,12 +1502,6 @@ |
1503 | 1503 | $titles = Title::newFromIDs( $tids ); |
1504 | 1504 | |
1505 | 1505 | foreach ( $titles as $title ) { |
1506 | | - // Set $wgTitle, in case semantic data is set based |
1507 | | - // on values not originating from the page (such as |
1508 | | - // via the External Data extension). |
1509 | | - global $wgTitle; |
1510 | | - $wgTitle = $title; |
1511 | | - |
1512 | 1506 | if ( ( $namespaces == false ) || ( in_array( $title->getNamespace(), $namespaces ) ) ) { |
1513 | 1507 | $updatejobs[] = new SMWUpdateJob( $title ); |
1514 | 1508 | $emptyrange = false; |