Index: trunk/extensions/SemanticMediaWiki/specials/Export/SMW_SpecialOWLExport.php |
— | — | @@ -677,10 +677,10 @@ |
678 | 678 | $data = SMWExporter::makeExportData( smwfGetStore()->getSemanticData( $value, $fullexport ? false:array( '__spu', '__typ', '__imp' ) ), $st->modifier ); |
679 | 679 | $this->printExpData( $data ); // serialise |
680 | 680 | // let other extensions add additional RDF data for this page |
681 | | - $additional_data_array = array(); |
682 | | - wfRunHooks( 'smwAddToRDFExport', array( $value->getTitle(), &$additional_data_array ) ); |
683 | | - foreach( $additional_data_array as $additional_data) { |
684 | | - $this->printExpData( $additional_data ); // serialise |
| 681 | + $additionalDataArray = array(); |
| 682 | + wfRunHooks( 'smwAddToRDFExport', array( $value->getTitle(), &$additionalDataArray ) ); |
| 683 | + foreach ( $additionalDataArray as $additionalData ) { |
| 684 | + $this->printExpData( $additionalData ); // serialise |
685 | 685 | } |
686 | 686 | $this->markAsDone( $st ); |
687 | 687 | |