Skip to content

Commit

Permalink
not in model
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon committed Apr 18, 2019
1 parent 57d34bd commit 1dff014
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions administrator/components/com_modules/models/module.php
Expand Up @@ -907,14 +907,6 @@ public function save($data)
$isNew = true;
$context = $this->option . '.' . $this->name;

// Prevent to save too large content > 65535
if (strlen($data['content']) > 65535)
{
$this->setError(JTEXT::_('COM_MODULES_FIELD_CONTENT_TOO_LARGE'));

return false;
}

// Include the plugins for the save event.
JPluginHelper::importPlugin($this->events_map['save']);

Expand Down

0 comments on commit 1dff014

Please sign in to comment.