Remove `WCF.Message.UserMention` (#4324)
authorMatthias Schmidt <gravatronics@live.com>
Mon, 21 Jun 2021 15:35:02 +0000 (17:35 +0200)
committerGitHub <noreply@github.com>
Mon, 21 Jun 2021 15:35:02 +0000 (17:35 +0200)
This component has been deprecated for many years since d3cbe17e57fb2111af02ca7e11d9c60dce3c6de7 and has only been throwing an error since then.

wcfsetup/install/files/js/WCF.Message.js

index 1752e768c900f3f8d80cdbf8e7fb36dde6a7fdc0..c0b8d100b8d60ac7f7a8c4a4828a61c1a871aa1c 100644 (file)
@@ -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.
  */