From 3272ca34ee89c97ab2c4df8510791ef62e12cbf1 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 6 Nov 2014 17:33:10 -0500 Subject: [PATCH] 0.6.0 cleanup --- src/notifications.js | 8 -------- 1 file changed, 8 deletions(-) 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; }