From fd3ae99540b734482a0d61d8710595d34e24f052 Mon Sep 17 00:00:00 2001 From: Paul Holden <paulh@moodle.com> Date: Mon, 16 Oct 2023 15:28:10 +0100 Subject: [PATCH] MDL-79728 communication_matrix: deprecate refresh token config strings. --- .../provider/matrix/lang/en/communication_matrix.php | 6 ++++-- communication/provider/matrix/lang/en/deprecated.txt | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 communication/provider/matrix/lang/en/deprecated.txt diff --git a/communication/provider/matrix/lang/en/communication_matrix.php b/communication/provider/matrix/lang/en/communication_matrix.php index aa23679c140..f1d28cfaa36 100644 --- a/communication/provider/matrix/lang/en/communication_matrix.php +++ b/communication/provider/matrix/lang/en/communication_matrix.php @@ -28,11 +28,13 @@ $string['matrixhomeserverurl'] = 'Homeserver URL'; $string['matrixhomeserverurl_desc'] = 'The URL of the Synapse homeserver to connect to, for user and room creation.'; $string['matrixaccesstoken'] = 'Access token'; $string['matrixaccesstoken_desc'] = 'Access token for the account which will perform actions on the homeserver.'; -$string['matrixrefreshtoken'] = 'Refresh token'; -$string['matrixrefreshtoken_desc'] = 'Admin refresh token to associated with the access token.'; $string['matrixelementurl'] = 'Element web URL'; $string['matrixroomtopic'] = 'Room topic'; $string['matrixroomtopic_help'] = 'A short description of what this room is for.'; $string['matrix:moderator'] = 'Matrix moderator'; $string['pluginname'] = 'Matrix'; $string['privacy:metadata'] = 'The Matrix communication plugin does not store any personal data.'; + +// Deprecated since Moodle 4.4. +$string['matrixrefreshtoken'] = 'Refresh token'; +$string['matrixrefreshtoken_desc'] = 'Admin refresh token to associated with the access token.'; diff --git a/communication/provider/matrix/lang/en/deprecated.txt b/communication/provider/matrix/lang/en/deprecated.txt new file mode 100644 index 00000000000..7af1a7c7a25 --- /dev/null +++ b/communication/provider/matrix/lang/en/deprecated.txt @@ -0,0 +1,2 @@ +matrixrefreshtoken,communication_matrix +matrixrefreshtoken_desc,communication_matrix