From c5bb52f0780244ddd18e79a797ccdb336d8e88aa Mon Sep 17 00:00:00 2001 From: slace Date: Mon, 3 May 2010 22:53:12 +0000 Subject: [PATCH] Cleaning up the cache browser page [TFS Changeset #65941] --- .../presentation/umbraco/cacheBrowser.aspx.cs | 33 ++----------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/umbraco/presentation/umbraco/cacheBrowser.aspx.cs b/umbraco/presentation/umbraco/cacheBrowser.aspx.cs index 28b61475cf..350d200dc5 100644 --- a/umbraco/presentation/umbraco/cacheBrowser.aspx.cs +++ b/umbraco/presentation/umbraco/cacheBrowser.aspx.cs @@ -1,20 +1,12 @@ -using System; using System.Collections; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Web; -using System.Web.SessionState; -using System.Web.UI; -using System.Web.UI.WebControls; -using System.Web.UI.HtmlControls; +using umbraco.BasePages; namespace umbraco.cms.presentation { /// /// Summary description for cacheBrowser. /// - public partial class cacheBrowser : System.Web.UI.Page + public partial class cacheBrowser : UmbracoEnsuredPage { protected void Page_Load(object sender, System.EventArgs e) @@ -35,27 +27,6 @@ namespace umbraco.cms.presentation Response.Write(" - " + ((ArrayList) ht[key])[i] + " (Delete)
"); } } - - #region Web Form Designer generated code - override protected void OnInit(EventArgs e) - { - // - // CODEGEN: This call is required by the ASP.NET Web Form Designer. - // - InitializeComponent(); - base.OnInit(e); - } - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - - } - #endregion - protected void Button1_Click(object sender, System.EventArgs e) { cms.businesslogic.cache.Cache.ClearAllCache();