summaryrefslogtreecommitdiff
path: root/src/doc-data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc-data.c')
-rw-r--r--src/doc-data.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/doc-data.c b/src/doc-data.c
index a3bf325..11136ca 100644
--- a/src/doc-data.c
+++ b/src/doc-data.c
@@ -530,17 +530,6 @@ int doc_data_get_media_data(doc_ugdata * ugd, int type, int start_pos,
return err;
}
-int doc_del_media_data_by_id(doc_ugdata * ugd, const char *media_id)
-{
- DOC_CHECK_VAL(media_id, -1);
- int ret = media_info_delete_from_db(media_id);
- if (ret != 0) {
- doc_dbgE("Delete media failed[%d]!", ret);
- return -1;
- }
-
- return 0;
-}
int doc_data_init(doc_ugdata * ugd)
{