summaryrefslogtreecommitdiff
path: root/app/Model/ProjectFileModel.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/ProjectFileModel.php')
-rw-r--r--app/Model/ProjectFileModel.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/Model/ProjectFileModel.php b/app/Model/ProjectFileModel.php
index b464bb2a..4de4d66d 100644
--- a/app/Model/ProjectFileModel.php
+++ b/app/Model/ProjectFileModel.php
@@ -61,14 +61,13 @@ class ProjectFileModel extends FileModel
}
/**
- * Get event name
+ * Fire file creation event
*
- * @abstract
* @access protected
- * @return string
+ * @param integer $file_id
*/
- protected function getEventName()
+ protected function fireCreationEvent($file_id)
{
- return self::EVENT_CREATE;
+ $this->queueManager->push($this->projectFileEventJob->withParams($file_id, self::EVENT_CREATE));
}
}