From 15709f18b32472e645179fd7a64d113a44a2cb2f Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 27 Nov 2020 23:27:33 +0800 Subject: [PATCH] MDL-69422 mod_data: Deprecate unused 'unsupportedexport' string --- mod/data/lang/en/data.php | 4 +++- mod/data/lang/en/deprecated.txt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mod/data/lang/en/data.php b/mod/data/lang/en/data.php index a49ca728e0d..1c5be548e94 100644 --- a/mod/data/lang/en/data.php +++ b/mod/data/lang/en/data.php @@ -391,7 +391,6 @@ $string['timemodified'] = 'Time modified'; $string['todatabase'] = 'to this database.'; $string['type'] = 'Field type'; $string['undefinedprocessactionmethod'] = 'No action method defined in Data_Preset to handle action "{$a}".'; -$string['unsupportedexport'] = '({$a->fieldtype}) cannot be exported.'; $string['unsupportedfields'] = 'Unsupported fields'; $string['unsupportedfieldslist'] = 'The following fields cannot be exported:'; $string['updatefield'] = 'Update an existing field'; @@ -413,3 +412,6 @@ $string['viewfromdate'] = 'Read only from'; $string['viewtodate'] = 'Read only to'; $string['viewtodatevalidation'] = 'The read only to date cannot be before the read only from date.'; $string['wrongdataid'] = 'Wrong data id provided'; + +// Deprecated since Moodle 3.11. +$string['unsupportedexport'] = '({$a->fieldtype}) cannot be exported.'; diff --git a/mod/data/lang/en/deprecated.txt b/mod/data/lang/en/deprecated.txt index e69de29bb2d..0c6891c2960 100644 --- a/mod/data/lang/en/deprecated.txt +++ b/mod/data/lang/en/deprecated.txt @@ -0,0 +1 @@ +unsupportedexport,mod_data -- 2.43.0