mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
Post GPL cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user