Skip to content

Commit

Permalink
Mark ConfigureSmtpSettings obsolete.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Jul 26, 2024
1 parent d71255b commit c5899d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/publish-cloudsmith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ jobs:
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@issue/OCC-245
with:
source: https://nuget.cloudsmith.io/lombiq/open-source-orchard-core-extensions/v3/index.json
add-source-link-package: false
secrets:
API_KEY: ${{ secrets.CLOUDSMITH_NUGET_PUBLISH_API_KEY }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using OrchardCore.Email;
using OrchardCore.Environment.Shell.Configuration;
using OrchardCore.ResourceManagement;
using System;

namespace Microsoft.Extensions.DependencyInjection;

Expand Down Expand Up @@ -29,6 +30,7 @@ public static OrchardCoreBuilder AddDatabaseShellsConfigurationIfAvailable(
/// If set to <see langword="true"/> the settings coming from the configuration provider will override the ones set
/// up from the admin UI.
/// </param>
[Obsolete("The email configuration has changed in OC 2.0, see https://docs.orchardcore.net/en/latest/releases/2.0.0/#email-module.")]
public static OrchardCoreBuilder ConfigureSmtpSettings(
this OrchardCoreBuilder builder,
bool overrideAdminSettings = true)
Expand Down

0 comments on commit c5899d3

Please sign in to comment.