move register to init for now
dash line update temporary for legacy
This commit is contained in:
parent
54a598344f
commit
68695e9839
@ -16,12 +16,12 @@
|
||||
- (instancetype)init {
|
||||
if (self = [super init]) {
|
||||
self.session = [self createNSURLSession];
|
||||
[ModelMapping registerObjects];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
+ (nullable instancetype)sharedGlobal {
|
||||
[ModelMapping registerObjects];
|
||||
return [MVMCoreActionUtility initializerClassCheck:[MVMCoreObject sharedInstance].session classToVerify:self];
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user