Index: trunk/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php |
— | — | @@ -368,7 +368,7 @@ |
369 | 369 | * @return boolean stating whether the operations succeeded |
370 | 370 | */ |
371 | 371 | public function deleteContentByValue( $propertyName, $objectName, $extraNamespaces = array() ) { |
372 | | - return smwfGetSparqlDatabase()->delete( "?s ?p ?o", "?s $propertyName $objectName . ?s ?p ?o" ); |
| 372 | + return smwfGetSparqlDatabase()->delete( "?s ?p ?o", "?s $propertyName $objectName . ?s ?p ?o", $extraNamespaces ); |
373 | 373 | } |
374 | 374 | |
375 | 375 | /** |
— | — | @@ -467,7 +467,7 @@ |
468 | 468 | |
469 | 469 | /** |
470 | 470 | * Execute a SPARQL update and return a boolean to indicate if the |
471 | | - * operations was sucessfull. The method throws exceptions based on |
| 471 | + * operations was successful. The method throws exceptions based on |
472 | 472 | * SMWSparqlDatabase::throwSparqlErrors(). If errors occur and this |
473 | 473 | * method does not throw anything, then false is returned. |
474 | 474 | * |