Ejemplo n.º 1
0
        private static void ClearCache(object sender, EventArgs e)
        {
            Blog.CurrentInstance.Cache.Remove(widgetCacheKey);

            Blog siteAggregationBlog = Blog.SiteAggregationBlog;

            if (siteAggregationBlog != null)
            {
                siteAggregationBlog.Cache.Remove(widgetCacheKey);
                AuthorProfile.RemoveProfile(siteAggregationBlog.Id);
            }
        }