You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by to...@apache.org on 2007/01/15 21:53:23 UTC

svn commit: r496486 - /incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m

Author: torehalset
Date: Mon Jan 15 12:53:23 2007
New Revision: 496486

URL: http://svn.apache.org/viewvc?view=rev&rev=496486
Log:
remove debug code

Modified:
    incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m

Modified: incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m?view=diff&rev=496486&r1=496485&r2=496486
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m Mon Jan 15 12:53:23 2007
@@ -613,13 +613,6 @@
 
 -(void)createValidationError:(NSString *)errorMessage code:(int)errorCode error:(NSError **)outError
 {
-
-NSUserDefaults* defs = [NSUserDefaults standardUserDefaults];
-NSArray* languages = [defs objectForKey:@"AppleLanguages"];
-NSString* preferredLang = [languages objectAtIndex:0];
-
-
-    NSLog(@"DEBUG: preflang: %@", preferredLang);
     NSDictionary *userInfoDict = [NSDictionary dictionaryWithObject:errorMessage
                                                              forKey:NSLocalizedDescriptionKey];
     NSError *error = [[[NSError alloc] initWithDomain:[[self class] description]