Skip to content

Commit

Permalink
Marked all public WebSlice members as obsolete, Part of solution for d…
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelsellers committed Oct 12, 2020
1 parent 30cd13a commit ace8463
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DNN Platform/Library/Entities/Modules/ModuleInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ public CacheLevel Cacheability

[XmlIgnore]
public bool IsShareableViewOnly { get; set; }


[Obsolete("WebSlice functionality is no longer used. Will be removed in v10.0.0")]
[XmlElement("iswebslice")]
public bool IsWebSlice { get; set; }

Expand Down Expand Up @@ -472,12 +473,15 @@ public ModulePermissionCollection ModulePermissions
[XmlElement("visibility")]
public VisibilityState Visibility { get; set; }

[Obsolete("WebSlice functionality is no longer used. Will be removed in v10.0.0")]
[XmlElement("websliceexpirydate")]
public DateTime WebSliceExpiryDate { get; set; }

[Obsolete("WebSlice functionality is no longer used. Will be removed in v10.0.0")]
[XmlElement("webslicetitle")]
public string WebSliceTitle { get; set; }

[Obsolete("WebSlice functionality is no longer used. Will be removed in v10.0.0")]
[XmlElement("webslicettl")]
public int WebSliceTTL { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,16 @@ public class ExportTabModule : BasicExportImportDto

public bool DisplaySyndicate { get; set; }

[Obsolete("WebSlice functionality is no longer used. Will be removed in v10.0.0")]
public bool IsWebSlice { get; set; }

[Obsolete("WebSlice functionality is no longer used. Will be removed in v10.0.0")]
public string WebSliceTitle { get; set; }

[Obsolete("WebSlice functionality is no longer used. Will be removed in v10.0.0")]
public DateTime? WebSliceExpiryDate { get; set; }

[Obsolete("WebSlice functionality is no longer used. Will be removed in v10.0.0")]
public int? WebSliceTTL { get; set; }

public int? CreatedByUserID { get; set; }
Expand Down

0 comments on commit ace8463

Please sign in to comment.