Skip to content

Commit

Permalink
Update SavePublishedSettingsListener.java
Browse files Browse the repository at this point in the history
fix: lookup eventTrackingService via ComponentManager
  • Loading branch information
jkjanetschek authored Sep 28, 2023
1 parent 62406c8 commit 6a5ea18
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
import java.util.ListIterator;
import org.sakaiproject.tool.assessment.data.dao.assessment.ExtendedTime;
import org.sakaiproject.component.cover.ComponentManager;
import org.sakaiproject.component.cover.ComponentManager;

/**
* <p>Title: Samigo</p>2
* <p>Description: Sakai Assessment Manager</p>
Expand All @@ -109,7 +109,9 @@ public class SavePublishedSettingsListener
private final SamigoAvailableNotificationService samigoAvailableNotificationService = ComponentManager.get(SamigoAvailableNotificationService.class);
private EventTrackingService eventTrackingService;

public SavePublishedSettingsListener() {}
public SavePublishedSettingsListener() {
eventTrackingService = ComponentManager.get(EventTrackingService.class);
}

public void processAction(ActionEvent ae) throws AbortProcessingException
{
Expand Down

0 comments on commit 6a5ea18

Please sign in to comment.