Make user mentions great again
This commit is contained in:
@@ -91,7 +91,6 @@ class ClassProvider implements ServiceProviderInterface
|
||||
'TransitionModel',
|
||||
'UserModel',
|
||||
'UserLockingModel',
|
||||
'UserMentionModel',
|
||||
'UserNotificationModel',
|
||||
'UserNotificationFilterModel',
|
||||
'UserUnreadNotificationModel',
|
||||
|
||||
@@ -10,6 +10,7 @@ use Kanboard\Job\SubtaskEventJob;
|
||||
use Kanboard\Job\TaskEventJob;
|
||||
use Kanboard\Job\TaskFileEventJob;
|
||||
use Kanboard\Job\TaskLinkEventJob;
|
||||
use Kanboard\Job\UserMentionJob;
|
||||
use Pimple\Container;
|
||||
use Pimple\ServiceProviderInterface;
|
||||
|
||||
@@ -62,6 +63,10 @@ class JobProvider implements ServiceProviderInterface
|
||||
return new ProjectMetricJob($c);
|
||||
});
|
||||
|
||||
$container['userMentionJob'] = $container->factory(function ($c) {
|
||||
return new UserMentionJob($c);
|
||||
});
|
||||
|
||||
return $container;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user