From 4e989680b16a4b8b52d8f8bdadb8f062a994f897 Mon Sep 17 00:00:00 2001 From: slace Date: Thu, 4 Mar 2010 22:16:46 +0000 Subject: [PATCH] DO NOT DOWNLOAD. DOWNLOAD LATEST STABLE FROM RELEASE TAB I really wish the code would compile when i check it out :( [TFS Changeset #64461] --- umbraco/cms/businesslogic/web/Document.cs | 32 ----------------------- 1 file changed, 32 deletions(-) diff --git a/umbraco/cms/businesslogic/web/Document.cs b/umbraco/cms/businesslogic/web/Document.cs index aaa2ae29fa..eb95bb4c6c 100644 --- a/umbraco/cms/businesslogic/web/Document.cs +++ b/umbraco/cms/businesslogic/web/Document.cs @@ -1479,11 +1479,6 @@ namespace umbraco.cms.businesslogic.web public delegate void MoveToTrashEventHandler(Document sender, MoveToTrashEventArgs e); - /// - /// The index event handlers - /// - public delegate void IndexEventHandler(Document sender, AddToIndexEventArgs e); - /// /// Occurs when [before save]. /// @@ -1739,33 +1734,6 @@ namespace umbraco.cms.businesslogic.web AfterRollBack(this, e); } - /// - /// Occurs when [before add to index]. - /// - public static event IndexEventHandler BeforeAddToIndex; - /// - /// Raises the event. - /// - /// The instance containing the event data. - protected virtual void FireBeforeAddToIndex(AddToIndexEventArgs e) { - if (BeforeAddToIndex != null) - BeforeAddToIndex(this, e); - } - - /// - /// Occurs when [after add to index]. - /// - public static event IndexEventHandler AfterAddToIndex; - /// - /// Raises the event. - /// - /// The instance containing the event data. - protected virtual void FireAfterAddToIndex(AddToIndexEventArgs e) - { - if (AfterAddToIndex != null) - AfterAddToIndex(this, e); - } - private Dictionary _knownProperties; private Func, string, bool> propertyTypeByAlias = (pt, alias) => pt.Key.PropertyType.Alias == alias; public object this[string alias]