using System;
using MrCMS.Entities.Multisite;
using MrCMS.Tasks;
using MrCMS.Web.Apps.Amazon.Helpers;
using MrCMS.Website;

namespace MrCMS.Web.Apps.Amazon.Tasks
{
    //TODO
    //public class DeleteAmazonFiles : BackgroundTask
    //{
    //    public DeleteAmazonFiles(Site site)
    //        : base(site)
    //    {
    //    }

    //    public override void Execute()
    //    {
    //        try
    //        {
    //            AmazonAppHelper.DeleteAmazonFilesOlderThan(new TimeSpan(-30, 0, 0, 0));
    //        }
    //        catch (Exception ex)
    //        {
    //            CurrentRequestData.ErrorSignal.Raise(ex);
    //        }
    //    }
    //}
}