From: Luke Howard Date: Tue, 19 Jul 2005 06:46:14 +0000 (+0000) Subject: Global plugins are now associated with frontendDB X-Git-Tag: OPENLDAP_AC_BP~342 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7de0268c98bc5ed2145f5f95acda6b3955e5e0ae;p=openldap Global plugins are now associated with frontendDB --- diff --git a/servers/slapd/init.c b/servers/slapd/init.c index 510f58b0d0..b8e676056a 100644 --- a/servers/slapd/init.c +++ b/servers/slapd/init.c @@ -178,7 +178,7 @@ int slap_startup( Backend *be ) if( rc == 0 ) { Slapi_PBlock *pb = slapi_pblock_new(); - if ( slapi_int_call_plugins( NULL, SLAPI_PLUGIN_START_FN, pb ) < 0 ) { + if ( slapi_int_call_plugins( frontendDB, SLAPI_PLUGIN_START_FN, pb ) < 0 ) { rc = -1; } slapi_pblock_destroy( pb ); @@ -204,7 +204,7 @@ int slap_shutdown( Backend *be ) #ifdef LDAP_SLAPI pb = slapi_pblock_new(); - (void) slapi_int_call_plugins( NULL, SLAPI_PLUGIN_CLOSE_FN, pb ); + (void) slapi_int_call_plugins( frontendDB, SLAPI_PLUGIN_CLOSE_FN, pb ); slapi_pblock_destroy( pb ); #endif /* LDAP_SLAPI */