Skip to content

Commit

Permalink
Renamed GetSkinByPackageId to GetSkinPackageById
Browse files Browse the repository at this point in the history
  • Loading branch information
GerardSmit committed Oct 17, 2023
1 parent 55ea0bb commit 8b38df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DNN Platform/DotNetNuke.Abstractions/Skins/ISkinService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public interface ISkinService
/// <summary>Gets a skin package by its id.</summary>
/// <param name="packageId">The skin package id.</param>
/// <returns>The skin package.</returns>
ISkinPackageInfo GetSkinByPackageId(int packageId);
ISkinPackageInfo GetSkinPackageById(int packageId);

/// <summary>Gets a skin package by its id.</summary>
/// <param name="portalId">The portal id.</param>
Expand Down
4 changes: 2 additions & 2 deletions DNN Platform/Library/UI/Skins/SkinController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public static partial string GetDefaultPortalSkin()
}

/// <inheritdoc cref="ISkinService.GetSkinByPackageID" />
[DnnDeprecated(10, 0, 0, $"Use {nameof(ISkinService)}.{nameof(ISkinService.GetSkinByPackageId)} instead.")]
[DnnDeprecated(10, 0, 0, $"Use {nameof(ISkinService)}.{nameof(ISkinService.GetSkinPackageById)} instead.")]
public static partial SkinPackageInfo GetSkinByPackageID(int packageID)
{
return CBO.FillObject<SkinPackageInfo>(DataProvider.Instance().GetSkinByPackageID(packageID));
Expand Down Expand Up @@ -492,7 +492,7 @@ public static partial string UploadLegacySkin(string rootPath, string skinRoot,
}

/// <inheritdoc />
ISkinPackageInfo ISkinService.GetSkinByPackageId(int packageId) => GetSkinByPackageID(packageId);
ISkinPackageInfo ISkinService.GetSkinPackageById(int packageId) => GetSkinByPackageID(packageId);

/// <inheritdoc />
ISkinPackageInfo ISkinService.GetSkinPackage(int portalId, string skinName, SkinPackageType packageType)
Expand Down

0 comments on commit 8b38df8

Please sign in to comment.