Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php |
— | — | @@ -718,7 +718,7 @@ |
719 | 719 | wfProfileIn( 'SMWSQLStore2::deleteSubject (SMW)' ); |
720 | 720 | wfRunHooks( 'SMWSQLStore2::deleteSubjectBefore', array( $this, $subject ) ); |
721 | 721 | |
722 | | - $this->deleteSemanticData( SMWDIWikiPage::newFromTitle( $subject ); |
| 722 | + $this->deleteSemanticData( SMWDIWikiPage::newFromTitle( $subject ) ); |
723 | 723 | $this->updateRedirects( $subject->getDBkey(), $subject->getNamespace() ); // also delete redirects, may trigger update jobs! |
724 | 724 | |
725 | 725 | if ( $subject->getNamespace() == SMW_NS_CONCEPT ) { // make sure to clear caches |
— | — | @@ -966,7 +966,7 @@ |
967 | 967 | } else { // general move method that should be correct in all cases (equality support respected when updating redirects) |
968 | 968 | // Delete any existing data from new title: |
969 | 969 | // $newtitle should not have data, but let's be sure |
970 | | - $this->deleteSemanticData( SMWDIWikiPage::newFromTitle( $newtitle ); |
| 970 | + $this->deleteSemanticData( SMWDIWikiPage::newFromTitle( $newtitle ) ); |
971 | 971 | $this->updateRedirects( $newtitle->getDBkey(), $newtitle->getNamespace() ); // may trigger update jobs! |
972 | 972 | |
973 | 973 | // Move all data of old title to new position: |