MDL-69530 h5p: remove storage class editor filearea constant.

This commit is contained in:
Paul Holden 2023-03-05 14:38:32 +00:00
parent 84bb5725f8
commit 3bc3a5b660
No known key found for this signature in database
GPG Key ID: A81A96D6045F6164
2 changed files with 3 additions and 7 deletions

View File

@ -55,13 +55,6 @@ class file_storage implements H5PFileStorage {
/** The icon filename */
public const ICON_FILENAME = 'icon.svg';
/**
* The editor file area.
* @deprecated since Moodle 3.10 MDL-68909. Please do not use this constant any more.
* @todo MDL-69530 This will be deleted in Moodle 4.2.
*/
public const EDITOR_FILEAREA = 'editor';
/**
* @var \context $context Currently we use the system context everywhere.
* Don't feel forced to keep it this way in the future.

View File

@ -1,6 +1,9 @@
This files describes API changes in core libraries and APIs,
information provided here is intended especially for developers.
=== 4.3 ===
* The `\core_h5p\file_storage::EDITOR_FILEAREA` constant has been removed, as all editor files are stored in user draft
=== 4.0 ===
* Added new methods to api: get_original_content_from_pluginfile_url and can_edit_content.
* Added edit.php and editcontent_form class, for modifying H5P content given an H5P identifier (from the h5p table).