Index: trunk/extensions/SemanticMediaWiki/includes/export/SMW_Exporter.php |
— | — | @@ -179,14 +179,7 @@ |
180 | 180 | // have helper property ready before entering the for loop, even if not needed: |
181 | 181 | $peHelper = self::getResourceElementForProperty( $property, true ); |
182 | 182 | |
183 | | - if ( $property->getKey() == '_REDI' || $property->getKey() == '_URI' ) { |
184 | | - $filterNamespace = true; |
185 | | - if ( $property->getKey() == '_REDI' ) { |
186 | | - $pe = array( $pe, self::getSpecialPropertyResource( '_URI' ) ); |
187 | | - } |
188 | | - } else { |
189 | | - $filterNamespace = false; |
190 | | - } |
| 183 | + $filterNamespace = ( $property->getKey() == '_REDI' || $property->getKey() == '_URI' ); |
191 | 184 | |
192 | 185 | foreach ( $dataItems as $dataItem ) { |
193 | 186 | // Basic namespace filtering to ensure that types match for redirects etc. |