summaryrefslogtreecommitdiffstats
path: root/plugin/scheduler/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/scheduler/plugin.go')
-rw-r--r--plugin/scheduler/plugin.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugin/scheduler/plugin.go b/plugin/scheduler/plugin.go
new file mode 100644
index 000000000..3133cb4b1
--- /dev/null
+++ b/plugin/scheduler/plugin.go
@@ -0,0 +1,19 @@
+// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
+// See LICENSE.txt for license information.
+
+package scheduler
+
+import (
+ "github.com/mattermost/mattermost-server/app"
+ tjobs "github.com/mattermost/mattermost-server/jobs/interfaces"
+)
+
+type PluginsJobInterfaceImpl struct {
+ App *app.App
+}
+
+func init() {
+ app.RegisterJobsMigrationsJobInterface(func(a *app.App) tjobs.MigrationsJobInterface {
+ return &PluginsJobInterfaceImpl{a}
+ })
+}