Remove unnecessary duplicated code 14/233314/5 accepted/tizen/unified/20200514.050650 submit/tizen/20200513.233945
authorhj kim <backto.kim@samsung.com>
Wed, 13 May 2020 22:58:39 +0000 (07:58 +0900)
committerhj kim <backto.kim@samsung.com>
Wed, 13 May 2020 23:13:37 +0000 (08:13 +0900)
commit97cbcc63fbddd24784402867599bf74f0b72c057
treeaeed5b519e95f501ac812f2662811fc20dadb4b9
parente466ae7e378c71453301b8df9df851d6c8270ef6
Remove unnecessary duplicated code

when application is deleted from app_list table, it will trigger to server_info and latest_meta table.
if app is not latest, info for that app will be deleted from server_info and latest_meta table.
in mc_db_remove_application(), app_list table is updated by calling __mc_db_delete_from_list() and do __mc_db_deactivate_server().
but __mc_db_deactivate_server() try to remove application info from the server_info table again.

Change-Id: Id4e82f0db44de7b785f25a5d7c30cfce75c791a2
svc/media_controller_db_util.c