refactor: not deprecated on 2.x

This commit is contained in:
Barış Soner Uşaklı
2022-11-25 09:02:08 -05:00
parent 8a15e58dff
commit 91c2e5ac25

View File

@@ -181,7 +181,6 @@ module.exports = function (utils, Benchpress, relative_path) {
} }
function renderTopicEvents(index, sort) { function renderTopicEvents(index, sort) {
console.warn('[renderTopicEvents] deprecated, use a partial at partials/topic/event.tpl');
if (sort === 'most_votes') { if (sort === 'most_votes') {
return ''; return '';
} }