Index: trunk/extensions/SemanticMediaWiki/includes/dataitems/SMW_DataItem.php |
— | — | @@ -143,7 +143,7 @@ |
144 | 144 | * @param $typeid string SMW type ID (optional) |
145 | 145 | * @return SMWDataItem |
146 | 146 | */ |
147 | | - public static function unserializeDataItem( $diType, $serialization, $typeid = '' ) { |
| 147 | + public static function newFromSerialization( $diType, $serialization, $typeid = '' ) { |
148 | 148 | $diClass = self::getDataItemClassNameForId( $diType ); |
149 | 149 | if ( $typeid !== '' ) { |
150 | 150 | return $diClass::doUnserialize( $serialization, $typeid ); |