s3:registry: always provision the registry, not only in smbd.
[metze/samba/wip.git] / source3 / registry / reg_init_full.c
index 7b9583dde29bfe2db410b6b5687984924a50fff5..b5a06f25826521414e0d0af823fa4e1bf8134a6b 100644 (file)
@@ -62,7 +62,7 @@ REGISTRY_HOOK reg_hooks[] = {
  with all available backens.
  ***********************************************************************/
 
-WERROR init_registry(void)
+WERROR registry_init_full(void)
 {
        int i;
        WERROR werr;
@@ -72,14 +72,6 @@ WERROR init_registry(void)
                goto fail;
        }
 
-       /* setup the necessary keys and values */
-
-       werr = init_registry_data();
-       if (!W_ERROR_IS_OK(werr)) {
-               DEBUG(0, ("Failed to initialize data in registry!\n"));
-               goto fail;
-       }
-
        /* build the cache tree of registry hooks */
 
        for ( i=0; reg_hooks[i].keyname; i++ ) {