r86610 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86609‎ | r86610 | r86611 >
Date:09:07, 21 April 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
typo
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php
@@ -718,7 +718,7 @@
719719 wfProfileIn( 'SMWSQLStore2::deleteSubject (SMW)' );
720720 wfRunHooks( 'SMWSQLStore2::deleteSubjectBefore', array( $this, $subject ) );
721721
722 - $this->deleteSemanticData( SMWDIWikiPage::newFromTitle( $subject );
 722+ $this->deleteSemanticData( SMWDIWikiPage::newFromTitle( $subject ) );
723723 $this->updateRedirects( $subject->getDBkey(), $subject->getNamespace() ); // also delete redirects, may trigger update jobs!
724724
725725 if ( $subject->getNamespace() == SMW_NS_CONCEPT ) { // make sure to clear caches
@@ -966,7 +966,7 @@
967967 } else { // general move method that should be correct in all cases (equality support respected when updating redirects)
968968 // Delete any existing data from new title:
969969 // $newtitle should not have data, but let's be sure
970 - $this->deleteSemanticData( SMWDIWikiPage::newFromTitle( $newtitle );
 970+ $this->deleteSemanticData( SMWDIWikiPage::newFromTitle( $newtitle ) );
971971 $this->updateRedirects( $newtitle->getDBkey(), $newtitle->getNamespace() ); // may trigger update jobs!
972972
973973 // Move all data of old title to new position:

Status & tagging log