Merge pull request #567 from rstudio/feature/remove-prefix-warning

remove addResourcePath warning for overriding an existing prefix
This commit is contained in:
Joe Cheng
2014-08-09 12:45:14 -07:00

View File

@@ -169,13 +169,6 @@ addResourcePath <- function(prefix, directoryPath) {
existing <- .globals$resources[[prefix]]
if (!is.null(existing)) {
if (!identical(existing$directoryPath, directoryPath)) {
warning("Overriding existing prefix ", prefix, " => ",
existing$directoryPath)
}
}
.globals$resources[[prefix]] <- list(directoryPath=directoryPath,
func=staticHandler(directoryPath))
}