Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php |
— | — | @@ -1494,7 +1494,7 @@ |
1495 | 1495 | $db->delete( $proptable->name, array( 's_id' => $row->smw_id ), __METHOD__ ); |
1496 | 1496 | } |
1497 | 1497 | } |
1498 | | - $db->delete( 'smw_ids', array( 'smw_id' => $sow->smw_id ), __METHOD__ ); |
| 1498 | + $db->delete( 'smw_ids', array( 'smw_id' => $row->smw_id ), __METHOD__ ); |
1499 | 1499 | } else { // "normal" interwiki pages or outdated internal objects |
1500 | 1500 | $diWikiPage = new SMWDIWikiPage( $row->smw_title, $row->smw_namespace, $row->smw_iw ); |
1501 | 1501 | $this->deleteSemanticData( $diWikiPage ); |