move register to init for now

dash line update temporary for legacy
This commit is contained in:
Pfeil, Scott Robert 2020-01-13 15:28:52 -05:00
parent 54a598344f
commit 68695e9839

View File

@ -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];
}