Index: trunk/extensions/OAI/OAIHarvest.php |
— | — | @@ -263,8 +263,6 @@ |
264 | 264 | } |
265 | 265 | } |
266 | 266 | |
267 | | - |
268 | | - |
269 | 267 | class OAIUpdateRecord { |
270 | 268 | var $_page = array(); |
271 | 269 | |
— | — | @@ -610,7 +608,7 @@ |
611 | 609 | /** |
612 | 610 | * @param DomNode $node |
613 | 611 | */ |
614 | | - function newFromNode( $node ) { |
| 612 | + static function newFromNode( $node ) { |
615 | 613 | $pageData = OAIUpdateRecord::readRecord( $node ); |
616 | 614 | $record = new OAIUpdateRecord( $pageData ); |
617 | 615 | return $record; |