(fix) remove unnecessary error message

This commit is contained in:
Ludovic Marcotte
2016-03-08 08:24:16 -05:00
parent 8617ddc05e
commit 100841efbd
-3
View File
@@ -180,9 +180,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])