[Logs] Remove already registered warning

This commit is contained in:
Christopher Chedeau 2015-08-20 08:47:41 -07:00
parent b888e8db40
commit 1ca1a44a07
1 changed files with 0 additions and 6 deletions

View File

@ -246,12 +246,6 @@ id<RCTJavaScriptExecutor> RCTGetLatestExecutor(void)
"'%@', but name was already registered by class %@", moduleClass,
moduleName, [modulesByName[moduleName] class]);
}
if ([module class] != moduleClass) {
RCTLogInfo(@"RCTBridgeModule of class %@ with name '%@' was encountered "
"in the project, but name was already registered by class %@."
"That's fine if it's intentional - just letting you know.",
moduleClass, moduleName, [modulesByName[moduleName] class]);
}
} else {
// Module name hasn't been used before, so go ahead and instantiate
module = [moduleClass new];