summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-03-22 15:20:47 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-03-22 20:24:40 +1100
commit775c5ec1c57b4acf61c1c750c4832f64defcb5b6 (patch)
treed55faee337e5ba1323faab228deeb4eaeb1de82a
parent7fc94eb9a7034c36943efbe04f4f4cdfb174c50e (diff)
downloadsamba-775c5ec1c57b4acf61c1c750c4832f64defcb5b6.tar.gz
samba-775c5ec1c57b4acf61c1c750c4832f64defcb5b6.tar.bz2
samba-775c5ec1c57b4acf61c1c750c4832f64defcb5b6.zip
s4:dsdb Remove unused 'dsdb_make_schema_global' call from pyglue
-rw-r--r--source4/scripting/python/pyglue.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c
index e28406a0d6..1071279265 100644
--- a/source4/scripting/python/pyglue.c
+++ b/source4/scripting/python/pyglue.c
@@ -442,21 +442,6 @@ static PyObject *py_dsdb_set_schema_from_ldb(PyObject *self, PyObject *args)
Py_RETURN_NONE;
}
-static PyObject *py_dsdb_make_schema_global(PyObject *self, PyObject *args)
-{
- PyObject *py_ldb;
- struct ldb_context *ldb;
-
- if (!PyArg_ParseTuple(args, "O", &py_ldb))
- return NULL;
-
- PyErr_LDB_OR_RAISE(py_ldb, ldb);
-
- dsdb_make_schema_global(ldb);
-
- Py_RETURN_NONE;
-}
-
static PyObject *py_dsdb_load_partition_usn(PyObject *self, PyObject *args)
{
PyObject *py_dn, *py_ldb, *result;
@@ -696,8 +681,6 @@ static PyMethodDef py_misc_methods[] = {
NULL },
{ "dsdb_convert_schema_to_openldap", (PyCFunction)py_dsdb_convert_schema_to_openldap, METH_VARARGS,
NULL },
- { "dsdb_make_schema_global", (PyCFunction)py_dsdb_make_schema_global, METH_VARARGS,
- NULL },
{ "set_debug_level", (PyCFunction)py_set_debug_level, METH_VARARGS,
"set debug level" },
{ "dsdb_load_partition_usn", (PyCFunction)py_dsdb_load_partition_usn, METH_VARARGS,