diff options
| author | Andrew Rabert <6550543+nvllsvm@users.noreply.github.com> | 2018-12-28 16:33:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-28 16:33:42 -0500 |
| commit | 9c49e936f02738faff5e76e0311b48f360990228 (patch) | |
| tree | 2b13ec9d73d3918ab5119290cb95b79d62751d54 /Emby.Server.Implementations/Security/AuthenticationRepository.cs | |
| parent | dc4a6026a53e7245182955b9b8e96a655bfe2961 (diff) | |
| parent | 6e5d2aadaa17d891b9c4b4f17faf1316f43aaee6 (diff) | |
Merge pull request #288 from Bond-009/toarray
Remove custom ToArray extension
Diffstat (limited to 'Emby.Server.Implementations/Security/AuthenticationRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Security/AuthenticationRepository.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Security/AuthenticationRepository.cs b/Emby.Server.Implementations/Security/AuthenticationRepository.cs index 45f7f1e95..f75eb6364 100644 --- a/Emby.Server.Implementations/Security/AuthenticationRepository.cs +++ b/Emby.Server.Implementations/Security/AuthenticationRepository.cs @@ -241,7 +241,7 @@ namespace Emby.Server.Implementations.Security var whereTextWithoutPaging = whereClauses.Count == 0 ? string.Empty : - " where " + string.Join(" AND ", whereClauses.ToArray(whereClauses.Count)); + " where " + string.Join(" AND ", whereClauses.ToArray()); commandText += whereTextWithoutPaging; @@ -298,7 +298,7 @@ namespace Emby.Server.Implementations.Security } } - result.Items = list.ToArray(list.Count); + result.Items = list.ToArray(); return result; }, ReadTransactionMode); |
