Remove unused legacy components
authorAlexander Ebert <ebert@woltlab.com>
Mon, 8 Aug 2022 17:26:20 +0000 (19:26 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 8 Aug 2022 17:26:20 +0000 (19:26 +0200)
wcfsetup/install/files/js/WCF.Message.js

index 105c455590753a2c1e92826fa4e1597bc5d3e0c3..1df0e7b652dde0f6861c51a0c5d4bb966da203f0 100644 (file)
@@ -805,17 +805,6 @@ if (COMPILER_TARGET_DEFAULT) {
                }
        });
        
-       /**
-        * @deprecated 5.2 Use `WoltLabSuite/Core/Ui/Smiley/Insert` instead.
-        */
-       WCF.Message.Smilies = Class.extend({
-               init: function (editorId) {
-                       require(['WoltLabSuite/Core/Ui/Smiley/Insert'], function(UiSmileyInsert) {
-                               new UiSmileyInsert(editorId);
-                       });
-               }
-       });
-       
        /**
         * Provides an inline message editor.
         *
@@ -1830,19 +1819,6 @@ WCF.Message.Share.Content = Class.extend({
        }
 });
 
-/**
- * Provides buttons to share a page through multiple social community sites.
- * 
- * @deprecated  3.0 - please use `WoltLabSuite/Core/Ui/Message/Share` instead
- */
-WCF.Message.Share.Page = Class.extend({
-       init: function() {
-               require(['WoltLabSuite/Core/Ui/Message/Share'], function(UiMessageShare) {
-                       UiMessageShare.init();
-               });
-       }
-});
-
 /**
  * Provides a specialized tab menu used for message options, integrates better into the editor.
  */