diff options
| author | Bond_009 <bond.009@outlook.com> | 2018-12-27 22:43:48 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-01-03 23:19:02 +0100 |
| commit | 340a2c651276d911285a6ff09944c5eba2384a51 (patch) | |
| tree | 20336fcac335c089c7d3965dbc3f6a9be7e4b3c4 /MediaBrowser.Controller/Net/AuthorizationInfo.cs | |
| parent | c6618d0a5fdfc063ccfba1b73fe16b68fc3ba1ce (diff) | |
Post GPL cleanup
Diffstat (limited to 'MediaBrowser.Controller/Net/AuthorizationInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/AuthorizationInfo.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/MediaBrowser.Controller/Net/AuthorizationInfo.cs b/MediaBrowser.Controller/Net/AuthorizationInfo.cs index a68060db5b..848d8fa15c 100644 --- a/MediaBrowser.Controller/Net/AuthorizationInfo.cs +++ b/MediaBrowser.Controller/Net/AuthorizationInfo.cs @@ -1,7 +1,6 @@ using MediaBrowser.Controller.Entities; using System; - namespace MediaBrowser.Controller.Net { public class AuthorizationInfo @@ -12,12 +11,7 @@ namespace MediaBrowser.Controller.Net /// <value>The user identifier.</value> public Guid UserId { get { - if (User == null) { - return Guid.Empty; - } - else { - return User.Id; - } + return User == null ? Guid.Empty : User.Id; } } |
