]> err.no Git - scalable-opengroupware.org/blobdiff - SOPE/NGCards/NGVCard.m
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1277 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / SOPE / NGCards / NGVCard.m
index faf7eaa5392fa7d72cbc3f589aee9be3b690fe66..cf457c4edc3b9c106f24700043254cfed8f1089a 100644 (file)
 
 @implementation NGVCard
 
-+ (id) parseSingleFromSource: (id) source
-{
-  NGVCard *newCard;
-
-  newCard = [super parseSingleFromSource: source];
-  [newCard setVersion: @"3.0"];
-
-  return newCard;
-}
-
 + (id) cardWithUid: (NSString *) _uid
 {
   NGVCard *newCard;
   return [self _preferredElementWithTag: @"adr"];
 }
 
+- (NSString *) versitString
+{
+  [self setVersion: @"3.0"];
+
+  return [super versitString];
+}
+
 /* description */
 
 - (void) appendAttributesToDescription: (NSMutableString *) _ms