summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-19 02:09:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:39 -0500
commit09708a2012330419db82f2fb45fdccc52cbd2b01 (patch)
tree365f2ff14c8175c95f63cfe74e1583418ba61a3f /source4
parent139e43bf9c0ddcb7122882db1cd8c569a71bafad (diff)
downloadsamba-09708a2012330419db82f2fb45fdccc52cbd2b01.tar.gz
samba-09708a2012330419db82f2fb45fdccc52cbd2b01.tar.bz2
samba-09708a2012330419db82f2fb45fdccc52cbd2b01.zip
r8569: delete is a js reserved word, so use del instead
(This used to be commit 9af48b8fc201822e290a1071d9e61afe519558f5)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/ejs/smbcalls_ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_ldb.c b/source4/scripting/ejs/smbcalls_ldb.c
index b56a3da7a1..30d0d354b4 100644
--- a/source4/scripting/ejs/smbcalls_ldb.c
+++ b/source4/scripting/ejs/smbcalls_ldb.c
@@ -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));