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]