projects
/
platform
/
core
/
multimedia
/
libmedia-service.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove folder_modified_time field
[platform/core/multimedia/libmedia-service.git]
/
src
/
media-svc.c
diff --git
a/src/media-svc.c
b/src/media-svc.c
index
61eb839
..
00c1916
100755
(executable)
--- a/
src/media-svc.c
+++ b/
src/media-svc.c
@@
-328,7
+328,6
@@
int media_svc_move_item(sqlite3 *handle,
{
int ret = MS_MEDIA_ERR_NONE;
char *file_name = NULL;
{
int ret = MS_MEDIA_ERR_NONE;
char *file_name = NULL;
- char *folder_path = NULL;
int modified_time = 0;
long long int folder_id = 0;
char old_thumb_path[MEDIA_SVC_PATHNAME_SIZE] = {0, };
int modified_time = 0;
long long int folder_id = 0;
char old_thumb_path[MEDIA_SVC_PATHNAME_SIZE] = {0, };
@@
-374,12
+373,6
@@
int media_svc_move_item(sqlite3 *handle,
media_svc_debug("Move is successful. Sending noti for this");
_media_svc_publish_noti(MS_MEDIA_ITEM_UPDATE, src_path, media_type, media_id, mime_type);
media_svc_debug("Move is successful. Sending noti for this");
_media_svc_publish_noti(MS_MEDIA_ITEM_UPDATE, src_path, media_type, media_id, mime_type);
- /*update folder modified_time*/
- folder_path = g_path_get_dirname(dest_path);
- ret = _media_svc_update_folder_modified_time(folder_path, uid);
- g_free(folder_path);
- media_svc_retv_if(ret != MS_MEDIA_ERR_NONE, ret);
-
return MS_MEDIA_ERR_NONE;
}
return MS_MEDIA_ERR_NONE;
}