diff options
Diffstat (limited to 'source3/registry/reg_init_full.c')
-rw-r--r-- | source3/registry/reg_init_full.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c index e24cb61481..ae12e30766 100644 --- a/source3/registry/reg_init_full.c +++ b/source3/registry/reg_init_full.c @@ -68,10 +68,8 @@ bool init_registry( void ) WERROR werr; bool ret = false; - werr = regdb_init(); + werr = registry_init_common(); if (!W_ERROR_IS_OK(werr)) { - DEBUG(0, ("Failed to initialize the registry: %s\n", - dos_errstr(werr))); goto fail; } @@ -85,13 +83,6 @@ bool init_registry( void ) /* build the cache tree of registry hooks */ - werr = reghook_cache_init(); - if (!W_ERROR_IS_OK(werr)) { - DEBUG(0, ("Failed to initialize the reghook cache: %s\n", - dos_errstr(werr))); - goto fail; - } - for ( i=0; reg_hooks[i].keyname; i++ ) { werr = reghook_cache_add(reg_hooks[i].keyname, reg_hooks[i].ops); if (!W_ERROR_IS_OK(werr)) { |