mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
refactor: not deprecated on 2.x
This commit is contained in:
@@ -181,7 +181,6 @@ module.exports = function (utils, Benchpress, relative_path) {
|
||||
}
|
||||
|
||||
function renderTopicEvents(index, sort) {
|
||||
console.warn('[renderTopicEvents] deprecated, use a partial at partials/topic/event.tpl');
|
||||
if (sort === 'most_votes') {
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user