No need convert error type.
Change-Id: Icf71594d7539663fb28ad0e346202044320e85e7
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
/* Or, it is real invalid path.. check storage type */
if (!ms_user_is_valid_path(_content_get_uid(), path)) {
content_sec_error("ms_user_is_valid_path failed : %d (%s)", ret, path);
- return _content_error_capi(ret);
+ return MEDIA_CONTENT_ERROR_INVALID_PARAMETER;
}
content_debug("This path doesn't exists in file system... So will be deleted it from DB");