summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-02-23 10:18:03 +0100
committerAndrew Bartlett <abartlet@samba.org>2011-03-01 06:29:03 +0100
commit47369370a1525e8a02db6e9e8deb2ac6364679d9 (patch)
tree366a5cfa97dd830ac0bd7c17d861c99b2d0ac058 /source4
parentc807911bf7f6906b3f89633cc7359ecff3fecb23 (diff)
downloadsamba-47369370a1525e8a02db6e9e8deb2ac6364679d9.tar.gz
samba-47369370a1525e8a02db6e9e8deb2ac6364679d9.tar.bz2
samba-47369370a1525e8a02db6e9e8deb2ac6364679d9.zip
s4:dsdb/common/util.c - remove "samdb_find_or_add_value"
This isn't used anymore. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/common/util.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index f87ed871c0..fb742f92bd 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -699,14 +699,6 @@ struct ldb_message_element *samdb_find_attribute(struct ldb_context *ldb,
return NULL;
}
-int samdb_find_or_add_value(struct ldb_context *ldb, struct ldb_message *msg, const char *name, const char *set_value)
-{
- if (samdb_find_attribute(ldb, msg, name, set_value) == NULL) {
- return ldb_msg_add_string(msg, name, set_value);
- }
- return LDB_SUCCESS;
-}
-
int samdb_find_or_add_attribute(struct ldb_context *ldb, struct ldb_message *msg, const char *name, const char *set_value)
{
struct ldb_message_element *el;