From a13a5c02e96113b415c6ec5a1ffa81f3a99e3d32 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 23 Aug 2017 18:14:59 -0400 Subject: [PATCH] closes #5899 --- public/src/utils.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/public/src/utils.js b/public/src/utils.js index 6e7f0400d1..910082a430 100644 --- a/public/src/utils.js +++ b/public/src/utils.js @@ -447,13 +447,5 @@ }; } - // DEPRECATED: remove in 1.6 - if (typeof String.prototype.rtrim !== 'function') { - String.prototype.rtrim = function () { - console.warn('[deprecated] `String.prototype.rtrim` is deprecated as of NodeBB v1.5; use `utils.rtrim` instead.'); - return utils.rtrim(this); - }; - } - return utils; }));