Skip to content

Commit

Permalink
Merge pull request #1398 from bdukes/typo-fix
Browse files Browse the repository at this point in the history
Fix typos for "deprecated".  These typos are in messages for the Obsolete attribute and do not change any functional code.
  • Loading branch information
Joe Brinkman committed Jun 20, 2016
2 parents 7266610 + 7245622 commit b076774
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions DNN Platform/Library/Obsolete/ModuleController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,29 +136,29 @@ public void CopyTabModuleSettings(ModuleInfo fromModule, ModuleInfo toModule)
}

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Deprectaed in DNN 7.3. Use an alternate overload")]
[Obsolete("Deprecated in DNN 7.3. Use an alternate overload")]
public void DeleteAllModules(int moduleId, int tabId, List<TabInfo> fromTabs)
{
DeleteAllModules(moduleId, tabId, fromTabs, true, false, false);
}

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Deprectaed in DNN 5.1. Use an alternate overload")]
[Obsolete("Deprecated in DNN 5.1. Use an alternate overload")]
public void DeleteAllModules(int moduleId, int tabId, List<TabInfo> fromTabs, bool includeCurrent, bool deleteBaseModule)
{
DeleteAllModules(moduleId, tabId, fromTabs, true, includeCurrent, deleteBaseModule);
}

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Deprectaed in DNN 5.1. Use an alternate overload")]
[Obsolete("Deprecated in DNN 5.1. Use an alternate overload")]
public void DeleteAllModules(int moduleId, int tabId, ArrayList fromTabs, bool includeCurrent, bool deleteBaseModule)
{
var listTabs = fromTabs.Cast<TabInfo>().ToList();
DeleteAllModules(moduleId, tabId, listTabs, true, includeCurrent, deleteBaseModule);
}

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Deprectaed in DNN 7.3.")]
[Obsolete("Deprecated in DNN 7.3.")]
public void DeleteModuleSettings(int moduleId)
{
dataProvider.DeleteModuleSettings(moduleId);
Expand All @@ -170,14 +170,14 @@ public void DeleteModuleSettings(int moduleId)
}

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Deprectaed in DNN 5.1. Replaced by DeleteTabModule(Integer, integer, boolean)")]
[Obsolete("Deprecated in DNN 5.1. Replaced by DeleteTabModule(Integer, integer, boolean)")]
public void DeleteTabModule(int tabId, int moduleId)
{
DeleteTabModule(tabId, moduleId, true);
}

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Deprectaed in DNN 7.3.")]
[Obsolete("Deprecated in DNN 7.3.")]
public void DeleteTabModuleSettings(int tabModuleId)
{
dataProvider.DeleteTabModuleSettings(tabModuleId);
Expand Down Expand Up @@ -243,14 +243,14 @@ public ArrayList GetModules(int portalID, bool includePermissions)
}

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Deprectaed in DNN 7.3. Replaced by GetTabModulesByModule(moduleID)")]
[Obsolete("Deprecated in DNN 7.3. Replaced by GetTabModulesByModule(moduleID)")]
public ArrayList GetModuleTabs(int moduleID)
{
return new ArrayList(GetTabModulesByModule(moduleID).ToArray());
}

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Deprectaed in DNN 7.3. Replaced by GetModules(portalId)")]
[Obsolete("Deprecated in DNN 7.3. Replaced by GetModules(portalId)")]
public ArrayList GetRecycleModules(int portalID)
{
return GetModules(portalID);
Expand Down
4 changes: 2 additions & 2 deletions DNN Platform/Library/Services/Search/IndexingProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ public virtual int IndexSearchDocuments(int portalId,
throw new NotImplementedException();
}

[Obsolete("Depricated in DNN 7.4.2 Use 'IndexSearchDocuments' instead for lower memory footprint during search.")]
[Obsolete("Deprecated in DNN 7.4.2 Use 'IndexSearchDocuments' instead for lower memory footprint during search.")]
public virtual IEnumerable<SearchDocument> GetSearchDocuments(int portalId, DateTime startDateLocal)
{
return Enumerable.Empty<SearchDocument>();
}

[Obsolete("Legacy Search (ISearchable) -- Depricated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
[Obsolete("Legacy Search (ISearchable) -- Deprecated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
public abstract SearchItemInfoCollection GetSearchIndexItems(int portalId);

private const string TimePostfix = "UtcTime";
Expand Down
8 changes: 4 additions & 4 deletions DNN Platform/Library/Services/Search/ModuleIndexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ where allModules || mii.SupportSearch

/// -----------------------------------------------------------------------------
/// <summary>
/// LEGACY: Depricated in DNN 7.1. Use 'IndexSearchDocuments' instead.
/// LEGACY: Deprecated in DNN 7.1. Use 'IndexSearchDocuments' instead.
/// Used for Legacy Search (ISearchable)
///
/// GetSearchIndexItems gets the SearchInfo Items for the Portal
Expand All @@ -313,7 +313,7 @@ where allModules || mii.SupportSearch
/// </remarks>
/// <param name="portalId">The Id of the Portal</param>
/// -----------------------------------------------------------------------------
[Obsolete("Legacy Search (ISearchable) -- Depricated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
[Obsolete("Legacy Search (ISearchable) -- Deprecated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
public override SearchItemInfoCollection GetSearchIndexItems(int portalId)
{
var searchItems = new SearchItemInfoCollection();
Expand Down Expand Up @@ -345,7 +345,7 @@ public override SearchItemInfoCollection GetSearchIndexItems(int portalId)

/// -----------------------------------------------------------------------------
/// <summary>
/// LEGACY: Depricated in DNN 7.1. Use 'GetSearchModules' instead.
/// LEGACY: Deprecated in DNN 7.1. Use 'GetSearchModules' instead.
/// Used for Legacy Search (ISearchable)
///
/// GetModuleList gets a collection of SearchContentModuleInfo Items for the Portal
Expand All @@ -355,7 +355,7 @@ public override SearchItemInfoCollection GetSearchIndexItems(int portalId)
/// </remarks>
/// <param name="portalId">The Id of the Portal</param>
/// -----------------------------------------------------------------------------
[Obsolete("Legacy Search (ISearchable) -- Depricated in DNN 7.1. Use 'GetSearchModules' instead.")]
[Obsolete("Legacy Search (ISearchable) -- Deprecated in DNN 7.1. Use 'GetSearchModules' instead.")]
protected SearchContentModuleInfoCollection GetModuleList(int portalId)
{
var results = new SearchContentModuleInfoCollection();
Expand Down
8 changes: 4 additions & 4 deletions DNN Platform/Library/Services/Search/SearchEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ private DateTime FixedIndexingStartDate(int portalId)

/// -----------------------------------------------------------------------------
/// <summary>
/// LEGACY: Depricated in DNN 7.1. Use 'IndexSearchDocuments' instead.
/// LEGACY: Deprecated in DNN 7.1. Use 'IndexSearchDocuments' instead.
/// Used for Legacy Search (ISearchable)
///
/// GetContent gets all the content and passes it to the Indexer
Expand All @@ -311,7 +311,7 @@ private DateTime FixedIndexingStartDate(int portalId)
/// </remarks>
/// <param name="indexer">The Index Provider that will index the content of the portal</param>
/// -----------------------------------------------------------------------------
[Obsolete("Legacy Search (ISearchable) -- Depricated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
[Obsolete("Legacy Search (ISearchable) -- Deprecated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
protected SearchItemInfoCollection GetContent(IndexingProvider indexer)
{
var searchItems = new SearchItemInfoCollection();
Expand All @@ -326,7 +326,7 @@ protected SearchItemInfoCollection GetContent(IndexingProvider indexer)

/// -----------------------------------------------------------------------------
/// <summary>
/// LEGACY: Depricated in DNN 7.1. Use 'IndexSearchDocuments' instead.
/// LEGACY: Deprecated in DNN 7.1. Use 'IndexSearchDocuments' instead.
/// Used for Legacy Search (ISearchable)
///
/// GetContent gets the Portal's content and passes it to the Indexer
Expand All @@ -336,7 +336,7 @@ protected SearchItemInfoCollection GetContent(IndexingProvider indexer)
/// <param name="portalId">The Id of the Portal</param>
/// <param name="indexer">The Index Provider that will index the content of the portal</param>
/// -----------------------------------------------------------------------------
[Obsolete("Legacy Search (ISearchable) -- Depricated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
[Obsolete("Legacy Search (ISearchable) -- Deprecated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
protected SearchItemInfoCollection GetContent(int portalId, IndexingProvider indexer)
{
var searchItems = new SearchItemInfoCollection();
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/Library/Services/Search/TabIndexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private int IndexCollectedDocs(Action<IEnumerable<SearchDocument>> indexer,
return total;
}

[Obsolete("Legacy Search (ISearchable) -- Depricated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
[Obsolete("Legacy Search (ISearchable) -- Deprecated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
public override SearchItemInfoCollection GetSearchIndexItems(int portalId)
{
return null;
Expand Down
2 changes: 1 addition & 1 deletion DNN Platform/Library/Services/Search/UserIndexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ private static bool ContainsColumn(string col, IDataReader reader)

#region Obsoleted Methods

[Obsolete("Legacy Search (ISearchable) -- Depricated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
[Obsolete("Legacy Search (ISearchable) -- Deprecated in DNN 7.1. Use 'IndexSearchDocuments' instead.")]
public override SearchItemInfoCollection GetSearchIndexItems(int portalId)
{
return null;
Expand Down

0 comments on commit b076774

Please sign in to comment.