From 81daade9ec2749958f39e414f2c0e63209a43ab9 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 8 Mar 2016 08:24:16 -0500 Subject: [PATCH] (fix) remove unnecessary error message --- SoObjects/SOGo/SOGoObject.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/SoObjects/SOGo/SOGoObject.m b/SoObjects/SOGo/SOGoObject.m index 084244286..9801e4aee 100644 --- a/SoObjects/SOGo/SOGoObject.m +++ b/SoObjects/SOGo/SOGoObject.m @@ -158,9 +158,6 @@ [NSException raise: NSInvalidArgumentException format: @"'_name' must not be an empty string"]; context = [[WOApplication application] context]; - if (!context) - [self errorWithFormat: @"Error: initializing a SOGoObject (named %@) " - @"without wocontext", _name]; nameInContainer = [_name copy]; container = _container; if ([self doesRetainContainer])