Skip to content

Commit

Permalink
fix: update version removal comments to 1.17 for some features
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Dec 11, 2020
1 parent 4c87f30 commit 378a3a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/index.js
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/topics/index.js
Expand Up @@ -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 = [{
Expand Down

0 comments on commit 378a3a6

Please sign in to comment.