Skip to content

Commit

Permalink
MDL-70689 oauth2: deprecate unused strings
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Mar 12, 2021
1 parent 0f59f19 commit 57d9354
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions admin/tool/oauth2/lang/en/deprecated.txt
@@ -0,0 +1,5 @@
createnewfacebookissuer,tool_oauth2
createnewgoogleissuer,tool_oauth2
createnewissuer,tool_oauth2
createnewmicrosoftissuer,tool_oauth2
createnewnextcloudissuer,tool_oauth2
12 changes: 7 additions & 5 deletions admin/tool/oauth2/lang/en/tool_oauth2.php
Expand Up @@ -31,11 +31,6 @@
$string['createfromtemplate'] = 'Create an OAuth 2 service from a template';
$string['createfromtemplatedesc'] = 'Choose one of the OAuth 2 service templates below to create an OAuth service with a valid configuration for one of the known service types. This will create the OAuth 2 service, with all the correct end points and parameters required for authentication, though you will still need to enter the client ID and secret for the new service before it can be used.';
$string['createnewendpoint'] = 'Create new endpoint for issuer "{$a}"';
$string['createnewfacebookissuer'] = 'Create new Facebook service';
$string['createnewgoogleissuer'] = 'Create new Google service';
$string['createnewissuer'] = 'Create new custom service';
$string['createnewmicrosoftissuer'] = 'Create new Microsoft service';
$string['createnewnextcloudissuer'] = 'Create new Nextcloud service';
$string['createnewservice'] = 'Create new service: ';
$string['createnewuserfieldmapping'] = 'Create new user field mapping for issuer "{$a}"';
$string['custom_service'] = 'Custom';
Expand Down Expand Up @@ -113,3 +108,10 @@
$string['userfieldmappingdeleted'] = 'User field mapping deleted';
$string['userfieldmappingsforissuer'] = 'User field mappings for issuer: {$a}';
$string['privacy:metadata'] = 'The OAuth 2 services plugin does not store any personal data.';

// Deprecated since Moodle 3.11.
$string['createnewfacebookissuer'] = 'Create new Facebook service';
$string['createnewgoogleissuer'] = 'Create new Google service';
$string['createnewissuer'] = 'Create new custom service';
$string['createnewmicrosoftissuer'] = 'Create new Microsoft service';
$string['createnewnextcloudissuer'] = 'Create new Nextcloud service';

0 comments on commit 57d9354

Please sign in to comment.