浏览代码

Fix build due to rebase

Bond_009 6 年之前
父节点
当前提交
88aa5da354
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Emby.Server.Implementations/Activity/ActivityRepository.cs

+ 3 - 3
Emby.Server.Implementations/Activity/ActivityRepository.cs

@@ -184,7 +184,7 @@ namespace Emby.Server.Implementations.Activity
 
                 var whereTextWithoutPaging = whereClauses.Count == 0 ?
                   string.Empty :
-                  " where " + string.Join(" AND ", whereClauses.ToArray(whereClauses.Count));
+                  " where " + string.Join(" AND ", whereClauses.ToArray());
 
                 if (startIndex.HasValue && startIndex.Value > 0)
                 {
@@ -199,7 +199,7 @@ namespace Emby.Server.Implementations.Activity
 
                 var whereText = whereClauses.Count == 0 ?
                     string.Empty :
-                    " where " + string.Join(" AND ", whereClauses.ToArray(whereClauses.Count));
+                    " where " + string.Join(" AND ", whereClauses.ToArray());
 
                 commandText += whereText;
 
@@ -244,7 +244,7 @@ namespace Emby.Server.Implementations.Activity
                         result.TotalRecordCount = statement.ExecuteQuery().SelectScalarInt().First();
                     }
 
-                    result.Items = list.ToArray(list.Count);
+                    result.Items = list.ToArray();
                     return result;
 
                 }, ReadTransactionMode);