mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 10:17:15 +02: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