fix: update version removal comments to 1.17 for some features

v1.18.x
Julian Lam 4 years ago
parent 4c87f30184
commit 378a3a6945

@ -25,7 +25,7 @@ require('./usage')(Plugins);
Plugins.data = require('./data');
Plugins.hooks = require('./hooks');
// Backwards compatibility for hooks, remove in v1.16.0
// Backwards compatibility for hooks, remove in v1.17.0
Plugins.registerHook = Plugins.hooks.register;
Plugins.unregisterHook = Plugins.hooks.unregister;
Plugins.fireHook = Plugins.hooks.fire;

@ -143,7 +143,7 @@ Topics.getTopicsByTids = async function (tids, options) {
return hookResult.topics;
};
// Note: Backwards compatibility with old thumb logic, remove in v1.16.0
// Note: Backwards compatibility with old thumb logic, remove in v1.17.0
function restoreThumbValue(topic) {
if (topic.thumb && !topic.thumbs.length) {
topic.thumbs = [{

Loading…
Cancel
Save