Skip to content

Commit

Permalink
Remove the deprecated save function in the editor form field
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed May 13, 2019
1 parent 58f2ed4 commit 8d9738e
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions libraries/src/Form/Field/EditorField.php
Expand Up @@ -320,25 +320,4 @@ protected function getEditor()

return $this->editor;
}

/**
* Method to get the JEditor output for an onSave event.
*
* @return string The JEditor object output.
*
* @since 1.6
* @deprecated 4.0 Will be removed without replacement
* @see Editor::save()
*/
public function save()
{
$editor = $this->getEditor();

if (!method_exists($editor, 'save'))
{
return '';
}

return $editor->save($this->id);
}
}

0 comments on commit 8d9738e

Please sign in to comment.