Make user mentions great again
This commit is contained in:
@@ -4,4 +4,12 @@ namespace Kanboard\Event;
|
||||
|
||||
class ProjectFileEvent extends GenericEvent
|
||||
{
|
||||
public function getProjectId()
|
||||
{
|
||||
if (isset($this->container['file']['project_id'])) {
|
||||
return $this->container['file']['project_id'];
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user