diff options
author | Shubhojeet <shubhojeet.y@samsung.com> | 2018-06-14 01:47:33 +0530 |
---|---|---|
committer | Shubhojeet <shubhojeet.y@samsung.com> | 2018-06-14 01:47:33 +0530 |
commit | b61a599cd9ebd45b831ff2796f939196bc01203b (patch) | |
tree | ac36d2ae5bdd006be2ba82d0bdf70638bbf9cdf1 | |
parent | f3ac7ad4a5b34f1c184f03fe3ab558f9bb75a4dc (diff) | |
download | attach-panel-document-accepted/tizen_5.0_unified.tar.gz attach-panel-document-accepted/tizen_5.0_unified.tar.bz2 attach-panel-document-accepted/tizen_5.0_unified.zip |
Removing Deprecated apissubmit/tizen_5.0/20181106.070715submit/tizen_5.0/20181106.000001submit/tizen_5.0/20181101.000008submit/tizen/20180614.222201accepted/tizen/unified/20180619.110325accepted/tizen/5.0/unified/20181106.202330tizen_5.0accepted/tizen_5.0_unified
Change-Id: If092aec382e029953e0af68b5290d66736ffad7c
Signed-off-by: Shubhojeet <shubhojeet.y@samsung.com>
-rw-r--r-- | include/doc-data.h | 1 | ||||
-rw-r--r-- | src/doc-data.c | 11 | ||||
-rw-r--r-- | src/doc-list.c | 2 |
3 files changed, 0 insertions, 14 deletions
diff --git a/include/doc-data.h b/include/doc-data.h index 70029c4..1091b87 100644 --- a/include/doc-data.h +++ b/include/doc-data.h @@ -89,7 +89,6 @@ extern "C" { int end_pos, Eina_List ** pmedias_elist, doc_restore_selected_cb restore_cb, Eina_List * sel_id); - int doc_del_media_data_by_id(doc_ugdata * ugd, const char *media_id); int doc_data_init(doc_ugdata * ugd); int doc_data_finalize(doc_ugdata * ugd); #ifdef _cplusplus 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) { diff --git a/src/doc-list.c b/src/doc-list.c index 5f8b835..201484a 100644 --- a/src/doc-list.c +++ b/src/doc-list.c @@ -831,7 +831,6 @@ int doc_update_genlist(doc_ugdata * ugd) if (!ditem->item->file_url) { doc_dbgE("file_url is invalid!"); - doc_del_media_data_by_id(ugd, ditem->item->uuid); doc_data_util_free_item(ditem); ugd->thumbs_d->medias_cnt--; i--; @@ -991,7 +990,6 @@ int doc_create_genlist(doc_ugdata * ugd) if (!ditem->item->file_url) { doc_dbgE("file_url is invalid!"); - doc_del_media_data_by_id(ugd, ditem->item->uuid); doc_data_util_free_item(ditem); ugd->thumbs_d->medias_cnt--; i--; |