summaryrefslogtreecommitdiff
path: root/app/Event/ProjectModificationDate.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-18 22:08:16 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-18 22:08:16 +0200
commit31d3f8bb5783f5311bb3b7a86c3a6f5beb594580 (patch)
tree67beb8093c4fca28f8bea6ab72668a4ea34228cc /app/Event/ProjectModificationDate.php
parent4b61aad21847bc7b5d5110a80ed9ba35cbed0709 (diff)
Fix bug: update of the last_modified field for projects
Diffstat (limited to 'app/Event/ProjectModificationDate.php')
-rw-r--r--app/Event/ProjectModificationDate.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Event/ProjectModificationDate.php b/app/Event/ProjectModificationDate.php
index d0d1e846..1b0b3736 100644
--- a/app/Event/ProjectModificationDate.php
+++ b/app/Event/ProjectModificationDate.php
@@ -55,8 +55,7 @@ class ProjectModificationDate implements Listener
public function execute(array $data)
{
if (isset($data['project_id'])) {
- $this->project->updateModificationDate($data['project_id']);
- return true;
+ return $this->project->updateModificationDate($data['project_id']);
}
return false;