//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using System.Xml;
using CommunityServer.Components;
using CommunityServer.Configuration;

namespace CommunityServer.Blogs.Components
{
	/// <summary>
	/// Summary description for RecentContentJob.
	/// </summary>
	public class RecentContentJob : IJob
	{
		public RecentContentJob()
		{
			//
			// TODO: Add constructor logic here
			//
		}

	    public void Execute(XmlNode node)
	    {
	        SiteSettingsManager.IterateSiteSettings(new SiteSettingsListIterator(Weblogs.UpdateRecentContent));
	    }
	}
}
