util: Kill off set_topic_links/get_topic_links.

These functions were just shims that were
used in the somewhat painful migration from
subject_* to topic_*.

The commit 4572be8c27
fixed it so that the client never needs to
deal with "subject_links".

So now we just go back to simpler code:

    message.topic_links = links
    links = message.topic_links
This commit is contained in:
Steve Howell
2020-02-14 12:39:04 +00:00
parent 39405fccdc
commit cb91b7f312
6 changed files with 25 additions and 34 deletions

View File

@@ -234,14 +234,6 @@ exports.sorted_ids = function (ids) {
return id_list;
};
exports.set_topic_links = function (obj, topic_links) {
obj.topic_links = topic_links;
};
exports.get_topic_links = function (obj) {
return obj.topic_links;
};
exports.set_match_data = function (target, source) {
target.match_subject = source.match_subject;
target.match_content = source.match_content;