(fix) remove unnecessary error message
This commit is contained in:
parent
255e21795e
commit
81daade9ec
|
@ -158,9 +158,6 @@
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
format: @"'_name' must not be an empty string"];
|
format: @"'_name' must not be an empty string"];
|
||||||
context = [[WOApplication application] context];
|
context = [[WOApplication application] context];
|
||||||
if (!context)
|
|
||||||
[self errorWithFormat: @"Error: initializing a SOGoObject (named %@) "
|
|
||||||
@"without wocontext", _name];
|
|
||||||
nameInContainer = [_name copy];
|
nameInContainer = [_name copy];
|
||||||
container = _container;
|
container = _container;
|
||||||
if ([self doesRetainContainer])
|
if ([self doesRetainContainer])
|
||||||
|
|
Loading…
Reference in a new issue