]> err.no Git - scalable-opengroupware.org/blobdiff - SOGo/Main/SOGo.m
minor fixes
[scalable-opengroupware.org] / SOGo / Main / SOGo.m
index 78ed7918507cf96d3506df1e70d5a0073a35c0f8..fcbcec07077fe19893bace983bacb6f9b596dfd4 100644 (file)
@@ -239,7 +239,7 @@ static BOOL doCrashOnSessionCreate = NO;
   
   if (MainProduct == Nil) {
     if ((MainProduct = NSClassFromString(@"MainUIProduct")) == Nil)
-      [self logWithFormat:@"ERROR: did not find MainUIProduct class!"];
+      [self errorWithFormat:@"did not find MainUIProduct class!"];
   }
   
   lpath = [(id)MainProduct pathToLocaleForLanguageNamed:_name];
@@ -255,7 +255,7 @@ static BOOL doCrashOnSessionCreate = NO;
   NSDictionary *locale;
   
   if (![_name isNotNull]) {
-    [self logWithFormat:@"ERROR(%s): name parameter must not be nil!",
+    [self errorWithFormat:@"%s: name parameter must not be nil!",
          __PRETTY_FUNCTION__];
     return nil;
   }
@@ -264,7 +264,7 @@ static BOOL doCrashOnSessionCreate = NO;
     return locale;
   
   if ((lpath = [self pathToLocaleForLanguageNamed:_name]) == nil) {
-    [self logWithFormat:@"ERROR: did not find Locale for language: %@", _name];
+    [self errorWithFormat:@"did not find Locale for language: %@", _name];
     return nil;
   }