aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/Photos/PhotoHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Providers/Photos/PhotoHelper.cs')
-rw-r--r--MediaBrowser.Providers/Photos/PhotoHelper.cs17
1 files changed, 1 insertions, 16 deletions
diff --git a/MediaBrowser.Providers/Photos/PhotoHelper.cs b/MediaBrowser.Providers/Photos/PhotoHelper.cs
index a5ce6f81f8..2334c792e7 100644
--- a/MediaBrowser.Providers/Photos/PhotoHelper.cs
+++ b/MediaBrowser.Providers/Photos/PhotoHelper.cs
@@ -1,25 +1,10 @@
-using MediaBrowser.Controller.Entities;
-using System;
-using System.Collections.Generic;
+using System;
using System.Text;
namespace MediaBrowser.Providers.Photos
{
public static class PhotoHelper
{
- public static List<BaseItem> ShuffleList(List<BaseItem> list)
- {
- var rnd = new Random(DateTime.Now.Second);
- for (var i = 1; i < list.Count; i++)
- {
- var pos = rnd.Next(i + 1);
- var x = list[i];
- list[i] = list[pos];
- list[pos] = x;
- }
- return list;
- }
-
public static string Dec2Frac(double dbl)
{
char neg = ' ';