summaryrefslogtreecommitdiff
path: root/lib/messageform.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/messageform.php')
-rw-r--r--lib/messageform.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/messageform.php b/lib/messageform.php
index b034be312..0c568e1bd 100644
--- a/lib/messageform.php
+++ b/lib/messageform.php
@@ -154,9 +154,6 @@ class MessageForm extends Form
$contentLimit = Message::maxContent();
- $this->out->element('script', array('type' => 'text/javascript'),
- 'maxLength = ' . $contentLimit . ';');
-
if ($contentLimit > 0) {
$this->out->elementStart('dl', 'form_note');
$this->out->element('dt', null, _('Available characters'));