summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo/install.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-09-02 19:18:05 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-09-02 19:21:45 +0200
commitcea8cc73c801f1980a15d5d109f9e9394eff0642 (patch)
tree2f056c0b0fcce53890a281ce71ac21885a139fef /apps/user_ldap/appinfo/install.php
parentf97359706a407a876643026cb608e4d5dd319d29 (diff)
downloadnextcloud-server-cea8cc73c801f1980a15d5d109f9e9394eff0642.tar.gz
nextcloud-server-cea8cc73c801f1980a15d5d109f9e9394eff0642.zip
Move registration of LDAP background jobs to the install and update
Diffstat (limited to 'apps/user_ldap/appinfo/install.php')
-rw-r--r--apps/user_ldap/appinfo/install.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_ldap/appinfo/install.php b/apps/user_ldap/appinfo/install.php
index 0b3f84b8baf..f70eb746480 100644
--- a/apps/user_ldap/appinfo/install.php
+++ b/apps/user_ldap/appinfo/install.php
@@ -23,3 +23,6 @@ $state = OCP\Config::getSystemValue('ldapIgnoreNamingRules', 'doSet');
if($state === 'doSet') {
OCP\Config::setSystemValue('ldapIgnoreNamingRules', false);
}
+
+OCP\Backgroundjob::registerJob('OCA\user_ldap\lib\Jobs');
+OCP\Backgroundjob::registerJob('\OCA\User_LDAP\Jobs\CleanUp');