public override void ForceDelete() { base.ForceDelete(); var action = new PortalContext.ReloadSiteListDistributedAction(); action.Execute(); }
public override void Save(SavingMode mode) { RefreshUrlList(); if (this.CopyInProgress) { //we need to reset these values to avoid //conflict with the source site this.UrlList = new Dictionary<string, string>(); this.StartPage = null; } else { ValidateUrlList(); } base.Save(mode); var action = new PortalContext.ReloadSiteListDistributedAction(); action.Execute(); }