From 3bc3a5b660bc6e23ad07d8cdb4e3e79c27a57e33 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Sun, 5 Mar 2023 14:38:32 +0000 Subject: [PATCH] MDL-69530 h5p: remove storage class editor filearea constant. --- h5p/classes/file_storage.php | 7 ------- h5p/upgrade.txt | 3 +++ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/h5p/classes/file_storage.php b/h5p/classes/file_storage.php index 5a0d858aa36..7104137f519 100644 --- a/h5p/classes/file_storage.php +++ b/h5p/classes/file_storage.php @@ -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. diff --git a/h5p/upgrade.txt b/h5p/upgrade.txt index 34cdfdffa96..f212555c0f3 100644 --- a/h5p/upgrade.txt +++ b/h5p/upgrade.txt @@ -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).