(fix) remove unnecessary error message

pull/203/head
Ludovic Marcotte 2016-03-08 08:24:16 -05:00
parent 255e21795e
commit 81daade9ec
1 changed files with 0 additions and 3 deletions

View File

@ -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])