block deprecated api code 17/66117/1
authorKyeonghun Lee <kh9090.lee@samsung.com>
Fri, 15 Apr 2016 08:50:00 +0000 (17:50 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Fri, 15 Apr 2016 08:50:00 +0000 (17:50 +0900)
Change-Id: Ibefd298edf47696fc72853ff48978a455bff4fe7
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
mapi/msg_storage.cpp

index 7009a72..dd85abe 100755 (executable)
@@ -803,7 +803,7 @@ EXPORT_API int msg_backup_message(msg_handle_t handle, msg_message_backup_type_t
 
        if (handle == NULL || backup_filepath == NULL)
                return MSG_ERR_INVALID_PARAMETER;
-
+#if 0
        MsgHandle* pHandle = (MsgHandle*)handle;
 
        try {
@@ -812,7 +812,7 @@ EXPORT_API int msg_backup_message(msg_handle_t handle, msg_message_backup_type_t
                MSG_FATAL("%s", e.what());
                return MSG_ERR_STORAGE_ERROR;
        }
-
+#endif
        return err;
 }
 
@@ -824,7 +824,7 @@ EXPORT_API int msg_restore_message(msg_handle_t handle, const char *backup_filep
 
        if (handle == NULL || backup_filepath == NULL)
                return MSG_ERR_INVALID_PARAMETER;
-
+#if 0
        MsgHandle* pHandle = (MsgHandle*)handle;
 
        try {
@@ -833,7 +833,7 @@ EXPORT_API int msg_restore_message(msg_handle_t handle, const char *backup_filep
                MSG_FATAL("%s", e.what());
                return MSG_ERR_STORAGE_ERROR;
        }
-
+#endif
        return err;
 }