/// <summary> /// Saves the changed settings /// </summary> /// <param name="isSite">Indicates whether changed settings is global or site</param> private void Save(bool isSite) { // This action is permitted only for global administrators if (MembershipContext.AuthenticatedUser.IsGlobalAdministrator) { SettingsList.ForEach(key => EnableSettingByActualScope(key, isSite)); // Reload UI if necessary if (ReloadUIWhenModuleEnabled) { URLHelper.Redirect(RequestContext.CurrentURL); } } }