summaryrefslogtreecommitdiff
path: root/app/Subscriber/ProjectModificationDateSubscriber.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Subscriber/ProjectModificationDateSubscriber.php')
-rw-r--r--app/Subscriber/ProjectModificationDateSubscriber.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Subscriber/ProjectModificationDateSubscriber.php b/app/Subscriber/ProjectModificationDateSubscriber.php
index 97923af9..1ffe0248 100644
--- a/app/Subscriber/ProjectModificationDateSubscriber.php
+++ b/app/Subscriber/ProjectModificationDateSubscriber.php
@@ -24,9 +24,7 @@ class ProjectModificationDateSubscriber extends BaseSubscriber implements EventS
public function execute(GenericEvent $event)
{
- if (isset($event['project_id'])) {
- $this->logger->debug('Subscriber executed: '.__METHOD__);
- $this->projectModel->updateModificationDate($event['project_id']);
- }
+ $this->logger->debug('Subscriber executed: '.__METHOD__);
+ $this->projectModel->updateModificationDate($event['task']['project_id']);
}
}