summaryrefslogtreecommitdiffstats
path: root/appinfo/info.xml
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2023-03-02 16:19:49 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2023-03-02 17:51:53 +0100
commit04fcda9b1a1016e08316e14fef182d1955b5e4e6 (patch)
tree5ad794c638964d67eb4ce039d7e1dcc359280434 /appinfo/info.xml
parente6117020c05adc2fbd7bdf724766cdf523ff7a93 (diff)
Remove unused job from db
Our background job was renamed quite a while ago the old job remained in the db, to prevent confusion this adds a repair step to remove the old job. Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'appinfo/info.xml')
-rw-r--r--appinfo/info.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 912fcabc8..8e06ff9bb 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -62,6 +62,12 @@ Report a [feed issue](https://github.com/nextcloud/news/discussions/new)
<job>OCA\News\Cron\UpdaterJob</job>
</background-jobs>
+ <repair-steps>
+ <post-migration>
+ <step>OCA\News\Migration\RemoveUnusedJob</step>
+ </post-migration>
+ </repair-steps>
+
<commands>
<command>OCA\News\Command\ExploreGenerator</command>
<command>OCA\News\Command\ShowFeed</command>