aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/BaseApiService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-01 22:48:35 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-01 22:48:35 -0400
commit799cc9735210f5bf189b632b1fa6b43869053ed8 (patch)
tree7afc038efecbd0a46fa8bd10d27612d870c041bb /MediaBrowser.Api/BaseApiService.cs
parent967751d2a59db10dd91aa3cf31b0922a19269b5c (diff)
parent2b40504d5beff30a2ebe359b4573b8ba40caa8c3 (diff)
Merge branch 'dev' of https://github.com/MediaBrowser/MediaBrowser into dev
Diffstat (limited to 'MediaBrowser.Api/BaseApiService.cs')
-rw-r--r--MediaBrowser.Api/BaseApiService.cs11
1 files changed, 0 insertions, 11 deletions
diff --git a/MediaBrowser.Api/BaseApiService.cs b/MediaBrowser.Api/BaseApiService.cs
index 3364c3c6b..4465be97a 100644
--- a/MediaBrowser.Api/BaseApiService.cs
+++ b/MediaBrowser.Api/BaseApiService.cs
@@ -73,17 +73,6 @@ namespace MediaBrowser.Api
return ResultFactory.GetOptimizedResultUsingCache(Request, cacheKey, lastDateModified, cacheDuration, factoryFn);
}
- /// <summary>
- /// Infers the server address from the url
- /// </summary>
- /// <returns></returns>
- protected string GetServerAddress()
- {
- var index = Request.AbsoluteUri.IndexOf(Request.PathInfo, StringComparison.OrdinalIgnoreCase);
-
- return Request.AbsoluteUri.Substring(0, index);
- }
-
protected void AssertCanUpdateUser(IUserManager userManager, string userId)
{
var auth = AuthorizationContext.GetAuthorizationInfo(Request);