r8569: delete is a js reserved word, so use del instead
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Jul 2005 02:09:05 +0000 (02:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:39 +0000 (13:29 -0500)
(This used to be commit 9af48b8fc201822e290a1071d9e61afe519558f5)

source4/scripting/ejs/smbcalls_ldb.c

index b56a3da7a149ee3ee568253f3cbaea360ac16e7e..30d0d354b464c5d9ba0d8035bfb3ab85e73ee998 100644 (file)
@@ -297,7 +297,7 @@ static int ejs_ldb_init(MprVarHandle eid, int argc, struct MprVar **argv)
        mprSetCFunction(ldb, "search", ejs_ldbSearch);
        mprSetCFunction(ldb, "add", ejs_ldbAdd);
        mprSetCFunction(ldb, "modify", ejs_ldbModify);
-       mprSetCFunction(ldb, "delete", ejs_ldbDelete);
+       mprSetCFunction(ldb, "del", ejs_ldbDelete);
        mprSetCFunction(ldb, "rename", ejs_ldbRename);
        mprSetCFunction(ldb, "errstring", ejs_ldbErrstring);
        mprSetVar(ldb, "SCOPE_BASE", mprCreateNumberVar(LDB_SCOPE_BASE));