Web.Routing - remove duplicate code
This commit is contained in:
@@ -110,13 +110,6 @@ namespace Umbraco.Web.Routing
|
||||
: UrlProviderMode.Auto;
|
||||
}
|
||||
|
||||
if (mode == UrlProviderMode.AutoLegacy)
|
||||
{
|
||||
mode = Core.Configuration.UmbracoSettings.UseDomainPrefixes
|
||||
? UrlProviderMode.Absolute
|
||||
: UrlProviderMode.Auto;
|
||||
}
|
||||
|
||||
if (domainUri == null) // no domain was found
|
||||
{
|
||||
if (current == null)
|
||||
|
||||
Reference in New Issue
Block a user