summaryrefslogtreecommitdiff
path: root/app/Event/ProjectDailySummaryListener.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Event/ProjectDailySummaryListener.php')
-rw-r--r--app/Event/ProjectDailySummaryListener.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/app/Event/ProjectDailySummaryListener.php b/app/Event/ProjectDailySummaryListener.php
deleted file mode 100644
index cd593abc..00000000
--- a/app/Event/ProjectDailySummaryListener.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-namespace Event;
-
-/**
- * Project daily summary listener
- *
- * @package event
- * @author Frederic Guillot
- */
-class ProjectDailySummaryListener extends Base
-{
- /**
- * Execute the action
- *
- * @access public
- * @param array $data Event data dictionary
- * @return bool True if the action was executed or false when not executed
- */
- public function execute(array $data)
- {
- if (isset($data['project_id'])) {
- return $this->projectDailySummary->updateTotals($data['project_id'], date('Y-m-d'));
- }
-
- return false;
- }
-}