From: Matthias Schmidt Date: Mon, 21 Jun 2021 15:35:02 +0000 (+0200) Subject: Remove `WCF.Message.UserMention` (#4324) X-Git-Tag: 5.5.0_Alpha_1~619^2~4 X-Git-Url: https://git.stricted.de/?p=GitHub%2FWoltLab%2FWCF.git;a=commitdiff_plain;h=7e00d9d0803f11abb88afbd70d72a2c70a868b97 Remove `WCF.Message.UserMention` (#4324) This component has been deprecated for many years since d3cbe17e57fb2111af02ca7e11d9c60dce3c6de7 and has only been throwing an error since then. --- diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index 1752e768c9..c0b8d100b8 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -1826,15 +1826,6 @@ WCF.Message.Share.Page = Class.extend({ } }); -/** - * @deprecated 3.0 - */ -WCF.Message.UserMention = Class.extend({ - init: function() { - throw new Error("Support for mentions in Redactor are now enabled by adding the attribute 'data-support-mention=\"true\"' to the textarea element."); - } -}); - /** * Provides a specialized tab menu used for message options, integrates better into the editor. */