diff --git a/src/notifications.js b/src/notifications.js index f7859fced1..ce46197e5c 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -49,14 +49,6 @@ var async = require('async'), return next(null, null); } - // Backwards compatibility for old notification schema - // Remove this block when NodeBB v0.6.0 is released. - if (notification.hasOwnProperty('text')) { - notification.bodyShort = notification.text; - notification.bodyLong = ''; - notification.text = S(notification.text).escapeHTML().s; - } - if (notification.bodyShort) { notification.bodyShort = S(notification.bodyShort).escapeHTML().s; }