mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Global plugins are now associated with frontendDB
This commit is contained in:
parent
979e64d0f0
commit
7de0268c98
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user