MDL-34454 core_message: removed a deprecated function