Index: trunk/extensions/SemanticMaps/includes/SM_GeoCoordsHooks.php |
— | — | @@ -73,8 +73,7 @@ |
74 | 74 | * @return true |
75 | 75 | */ |
76 | 76 | public static function initGeoCoordsType() { |
77 | | - SMWDataValueFactory::registerDatatype( '_geo', 'SMGeoCoordsValue', 'Geographic coordinate' ); |
78 | | - SMWDataValueFactory::registerDataItem( '_geo', 'SMDIGeoCoord' ); |
| 77 | + SMWDataValueFactory::registerDatatype( '_geo', 'SMGeoCoordsValue', SMWDataItem::TYPE_GEO, 'Geographic coordinate' ); |
79 | 78 | return true; |
80 | 79 | } |
81 | 80 | |