Skip to content

Node.js based forum software built for the modern web

closes #5899

psychobunnya13a5c02e961
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;
}));