Skip to content

Commit b7e05e8

Browse files
committed
DNN-10042: Remove deprecated methods from source code.
1 parent 5d06209 commit b7e05e8

File tree

89 files changed

+121
-7542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+121
-7542
lines changed

DNN Platform/Connectors/Azure/Components/AzureConnector.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ private bool Validation(string azureAccountName, string azureAccountKey, string
310310
throw new ConnectorArgumentException(Localization.GetString("InvalidAccountKey.ErrorMessage",
311311
Constants.LocalResourceFile));
312312
}
313-
return false;
314313
}
315314

316315
private string GetSetting(Hashtable settings, string name, bool encrypt = false)

DNN Platform/DotNetNuke.Web/Mvp/HttpHandlerPresenter.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,5 @@ public abstract class HttpHandlerPresenter<TView> : Presenter<TView> where TView
2929
protected HttpHandlerPresenter(TView view) : base(view)
3030
{
3131
}
32-
33-
[Obsolete("Deprecated in DotNetNuke 6.1. Base Class Method deprecated in WebFormsMVP 1.2")]
34-
public override void ReleaseView()
35-
{
36-
}
3732
}
3833
}

DNN Platform/DotNetNuke.Web/Mvp/ModulePresenterBase.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,6 @@ protected void ShowMessage(string messageHeader, string message, ModuleMessage.M
257257

258258
#region Public Methods
259259

260-
[Obsolete("Deprecated in DotNetNuke 6.1. Base Class Method deprecated in WebFormsMVP 1.2")]
261-
public override void ReleaseView()
262-
{
263-
}
264-
265260
public virtual void RestoreState(StateBag stateBag)
266261
{
267262
AttributeBasedViewStateSerializer.DeSerialize(this, stateBag);

DNN Platform/DotNetNuke.Web/Mvp/WebServicePresenter.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,5 @@ public abstract class WebServicePresenter<TView> : Presenter<TView> where TView
2929
protected WebServicePresenter(TView view) : base(view)
3030
{
3131
}
32-
33-
[Obsolete("Deprecated in DotNetNuke 6.1. Base Class Method deprecated in WebFormsMVP 1.2")]
34-
public override void ReleaseView()
35-
{
36-
}
3732
}
3833
}

DNN Platform/DotNetNuke.Web/UI/WebControls/DnnFilePicker.cs

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -379,30 +379,6 @@ public bool Required
379379
}
380380
}
381381

382-
/// <summary>
383-
/// Gets or sets whether to Show Database Folders
384-
/// </summary>
385-
/// <remarks>
386-
/// Defaults to false
387-
/// </remarks>
388-
/// <value>A Boolean</value>
389-
[Obsolete("Deprecated in DNN 6.0")]
390-
public bool ShowDatabase
391-
{
392-
get
393-
{
394-
if (ViewState["ShowDatabase"] == null)
395-
{
396-
return false;
397-
}
398-
return Convert.ToBoolean(ViewState["ShowDatabase"]);
399-
}
400-
set
401-
{
402-
ViewState["ShowDatabase"] = value;
403-
}
404-
}
405-
406382
public bool ShowFolders
407383
{
408384
get
@@ -415,26 +391,6 @@ public bool ShowFolders
415391
}
416392
}
417393

418-
/// <summary>
419-
/// Gets or sets whether to Show Secure Folders
420-
/// </summary>
421-
/// <remarks>
422-
/// Defaults to false
423-
/// </remarks>
424-
/// <value>A Boolean</value>
425-
[Obsolete("Deprecated in DNN 6.0")]
426-
public bool ShowSecure
427-
{
428-
get
429-
{
430-
return ViewState["ShowSecure"] != null && Convert.ToBoolean(ViewState["ShowSecure"]);
431-
}
432-
set
433-
{
434-
ViewState["ShowSecure"] = value;
435-
}
436-
}
437-
438394
/// <summary>
439395
/// Gets or sets whether to Show the Upload Button
440396
/// </summary>

DNN Platform/DotNetNuke.Website.Deprecated/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
[assembly: AssemblyTitle("DotNetNuke.Website.Deprecated")]
1818
[assembly: AssemblyDescription("Open Source Web Application Framework")]
19-
[assembly: CLSCompliant(true)]
19+
[assembly: CLSCompliant(false)]
2020
[assembly: ComVisible(false)]
2121
//The following GUID is for the ID of the typelib if this project is exposed to COM
2222

DNN Platform/DotNetNuke.Website.Deprecated/admin/ControlPanel/WebUpload.ascx.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ protected override void OnInit(EventArgs e)
251251
/// <summary>
252252
/// The Page_Load runs when the page loads
253253
/// </summary>
254-
/// <param name="sender"></param>
255254
/// <param name="e"></param>
256255
/// <remarks>
257256
/// </remarks>

DNN Platform/HttpModules/Compression/CompressionModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
namespace DotNetNuke.HttpModules.Compression
3434
{
3535

36-
[Obsolete("Removed in version 6.2 - class still exists but does nothing.")]
36+
[Obsolete("The http modules in web.config removed in 9.2.0, this class need to be removed in future release for upgrade compactible.")]
3737
public class CompressionModule : IHttpModule
3838
{
3939
#region IHttpModule Members

DNN Platform/Library/Common/Assembly.cs

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)