r12743: Remove the ugly way we had to make a second stage init and introduce
[jelmer/samba4-debian.git] / source / dsdb / samdb / ldb_modules / samba3sam.c
index 035321a90b5cc7353fabddce4450acdc6427872b..429710c2c54fd721ae859c04eeea2f1562ea27e7 100644 (file)
@@ -878,9 +878,7 @@ const struct ldb_map_attribute samba3_attributes[] =
 };
 
        /* the init function */
-struct ldb_module *ldb_samba3sam_module_init(struct ldb_context *ldb, int stage, const char *options[])
+struct ldb_module *ldb_samba3sam_module_init(struct ldb_context *ldb, const char *options[])
 {
-       if (stage != LDB_MODULES_INIT_STAGE_1) return NULL;
-
        return ldb_map_init(ldb, samba3_attributes, samba3_objectclasses, "samba3sam");
 }