No longer add the description with the limits for uploading via the description....
authorCyperghost <olaf_schmitz_1@t-online.de>
Thu, 13 Jun 2024 10:03:43 +0000 (12:03 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Thu, 13 Jun 2024 10:03:43 +0000 (12:03 +0200)
wcfsetup/install/files/lib/system/form/builder/field/wysiwyg/WysiwygAttachmentFormField.class.php

index 7450eb43940f5d82c9da6c619a034a24819a4067..0632f146269c2039cc4e5cc7452f919281fed1f9 100644 (file)
@@ -84,14 +84,6 @@ final class WysiwygAttachmentFormField extends AbstractFormField
 
         $this->attachmentHandler = $attachmentHandler;
 
-        if ($this->attachmentHandler !== null) {
-            $this->description('wcf.attachment.upload.limits', [
-                'attachmentHandler' => $this->attachmentHandler,
-            ]);
-        } else {
-            $this->description();
-        }
-
         return $this;
     }