summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-05-15 17:09:57 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-07-30 11:43:15 +0200
commitc864e5dfc245e1de1bed6b73e11e5b3a4cdf65b7 (patch)
tree41b68d23787a4f4b3c6f61b8f5357816439936af /apps/files_external/appinfo
parent7ad0f66fc437a63d9b4deac3cd74814882acd6f0 (diff)
downloadnextcloud-server-c864e5dfc245e1de1bed6b73e11e5b3a4cdf65b7.tar.gz
nextcloud-server-c864e5dfc245e1de1bed6b73e11e5b3a4cdf65b7.zip
remove saved credentails if the user no longer has any storage configured using them
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external/appinfo')
-rw-r--r--apps/files_external/appinfo/info.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/appinfo/info.xml b/apps/files_external/appinfo/info.xml
index c2ac25bcea9..03a8845d3d6 100644
--- a/apps/files_external/appinfo/info.xml
+++ b/apps/files_external/appinfo/info.xml
@@ -31,6 +31,10 @@ External storage can be configured using the GUI or at the command line. This se
<nextcloud min-version="20" max-version="20"/>
</dependencies>
+ <background-jobs>
+ <job>OCA\Files_External\BackgroundJob\CredentialsCleanup</job>
+ </background-jobs>
+
<commands>
<command>OCA\Files_External\Command\ListCommand</command>
<command>OCA\Files_External\Command\Config</command>