added orchardFeature attribute where it was missing in Orchard.Roles (#8680)

This commit is contained in:
Matteo Piovanelli
2023-05-05 08:49:25 +02:00
committed by GitHub
parent 6283106c53
commit ff2f222695
2 changed files with 4 additions and 0 deletions

View File

@@ -1,9 +1,11 @@
using System.Collections.Generic;
using Orchard.Environment.Extensions;
using Orchard.Localization;
using Orchard.Workflows.Models;
using Orchard.Workflows.Services;
namespace Orchard.Roles.Activities {
[OrchardFeature("Orchard.Roles.Workflows")]
public class RoleEventActivity : Event {
public Localizer T { get; set; }

View File

@@ -1,7 +1,9 @@
using System.Collections.Generic;
using Orchard.Environment.Extensions;
using Orchard.Workflows.Services;
namespace Orchard.Roles.Events {
[OrchardFeature("Orchard.Roles.Workflows")]
public class RoleEventHandler : IRoleEventHandler {
private readonly IWorkflowManager _workflowManager;