diff options
Diffstat (limited to 'apps/user_ldap/appinfo/app.php')
-rw-r--r-- | apps/user_ldap/appinfo/app.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php index f371ef9efb3..5afd928301a 100644 --- a/apps/user_ldap/appinfo/app.php +++ b/apps/user_ldap/appinfo/app.php @@ -34,6 +34,8 @@ return new OCA\User_LDAP\GroupPluginManager(); }); +$app = new \OCA\User_LDAP\AppInfo\Application(); + $helper = new \OCA\User_LDAP\Helper(\OC::$server->getConfig()); $configPrefixes = $helper->getServerConfigurationPrefixes(true); if(count($configPrefixes) > 0) { @@ -67,6 +69,8 @@ if(count($configPrefixes) > 0) { OC::$server->getEventDispatcher()->dispatch('OCA\\User_LDAP\\User\\User::postLDAPBackendAdded'); \OC::$server->getGroupManager()->addBackend($groupBackend); + + $app->registerBackendDependents(); } \OCP\Util::connectHook( |