From 959457c392ac285d4d298836d2cd240e187320f4 Mon Sep 17 00:00:00 2001 From: cescobedo Date: Fri, 26 Jul 2019 12:03:00 +0200 Subject: [PATCH] MDL-57618 general: Remove strings deprecated in 3.3 --- lang/en/admin.php | 4 ---- lang/en/badges.php | 11 ----------- lang/en/completion.php | 4 ---- lang/en/deprecated.txt | 11 ----------- lang/en/moodle.php | 4 ---- .../googledocs/lang/en/repository_googledocs.php | 5 ----- 6 files changed, 39 deletions(-) diff --git a/lang/en/admin.php b/lang/en/admin.php index 0f8ba1703ba..ac5810a9d90 100644 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -1414,10 +1414,6 @@ $string['cachesessionhelp'] = 'User specific cache that expires when the user\'s $string['cacheapplication'] = 'Application cache'; $string['cacheapplicationhelp'] = 'Cached items are shared among all users and expire by a determined time to live (ttl).'; -// Deprecated since Moodle 3.3. -$string['loginpasswordautocomplete'] = 'Prevent password autocompletion on login form'; -$string['loginpasswordautocomplete_help'] = 'If enabled, users are not allowed to save their account password in their browser.'; -$string['unoconvwarning'] = 'The version of unoconv you have installed is not supported.'; // Deprecated since Moodle 3.4 $string['moodleorghubname'] = 'Moodle'; $string['hubs'] = 'Hubs'; diff --git a/lang/en/badges.php b/lang/en/badges.php index 6e4bf661e73..7b54068c14a 100644 --- a/lang/en/badges.php +++ b/lang/en/badges.php @@ -555,17 +555,6 @@ $string['version_help'] = 'The version field may be used to keep track of the ba $string['warnexpired'] = ' (This badge has expired!)'; $string['year'] = 'Year(s)'; -// Deprecated since Moodle 3.3. -$string['personaconnection'] = 'Sign in with your email'; -$string['personaconnection_help'] = 'Persona is a system for identifying yourself across the web, using an email address that you own. The Open Badges backpack uses Persona as a login system, so to be able to connect to a backpack you will need a Persona account. - -For more information about Persona visit https://login.persona.org/about.'; -$string['error:backpackloginfailed'] = 'You could not be connected to an external backpack for the following reason: {$a}'; -$string['error:badjson'] = 'The connection attempt returned invalid data.'; -$string['error:noassertion'] = 'No assertion was returned by Persona. You may have closed the dialog before completing the login process.'; -$string['error:personaneedsjs'] = 'Currently, Javascript is required to connect to your backpack. If you can, enable Javascript and reload the page.'; -$string['signinwithyouremail'] = 'Sign in with your email'; - // Deprecated since Moodle 3.6. $string['error:invalidbadgeurl'] = 'Invalid issuer URL format. The URL should have a prefix http:// or https://.'; $string['backpackbadges'] = 'You have {$a->totalbadges} badge(s) displayed from {$a->totalcollections} collection(s). Change backpack settings.'; diff --git a/lang/en/completion.php b/lang/en/completion.php index 94894dfd2e0..c0cf86b3681 100644 --- a/lang/en/completion.php +++ b/lang/en/completion.php @@ -231,7 +231,3 @@ $string['withconditions'] = 'With conditions'; $string['writingcompletiondata'] = 'Writing completion data'; $string['xdays'] = '{$a} days'; $string['yourprogress'] = 'Your progress'; - -// Deprecated since Moodle 3.3. -$string['completion-title-manual-n'] = 'Mark as complete: {$a}'; -$string['completion-title-manual-y'] = 'Mark as not complete: {$a}'; diff --git a/lang/en/deprecated.txt b/lang/en/deprecated.txt index 14eafe9dc3b..4af86739cae 100644 --- a/lang/en/deprecated.txt +++ b/lang/en/deprecated.txt @@ -5,17 +5,6 @@ myfilesmanage,core mypreferences,core_grades myprofile,core viewallmyentries,core_blog -loginpasswordautocomplete,core_admin -loginpasswordautocomplete_help,core_admin -deletecomment,core -personaconnection,core_badges -personaconnection_help,core_badges -error:noassertion,core_badges -error:personaneedsjs,core_badges -error:badjson,core_badges -error:backpackloginfailed,core_badges -signinwithyouremail,core_badges -sectionusedefaultname,core registermoochtips,core_hub monthnext,core_access monthprev,core_access diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 668823bfcda..25e9c45049b 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -2197,10 +2197,6 @@ $string['yourwordforx'] = 'Your word for \'{$a}\''; $string['zippingbackup'] = 'Zipping backup'; $string['deprecatedeventname'] = '{$a} (no longer in use)'; -// Deprecated since Moodle 3.3. -$string['deletecomment'] = 'Delete this comment'; -$string['sectionusedefaultname'] = 'Use default section name'; - // Deprecated since Moodle 3.4. $string['publish'] = 'Publish'; $string['extendenrol'] = 'Extend enrolment (individual)'; diff --git a/repository/googledocs/lang/en/repository_googledocs.php b/repository/googledocs/lang/en/repository_googledocs.php index 4e32a8ac66c..19850ca4cc0 100644 --- a/repository/googledocs/lang/en/repository_googledocs.php +++ b/repository/googledocs/lang/en/repository_googledocs.php @@ -46,8 +46,3 @@ $string['cachedef_folder'] = 'Google file IDs for folders in the system account' $string['privacy:metadata:repository_googledocs'] = 'The Google Drive repository plugin does not store any personal data, but does transmit user data from Moodle to the remote system.'; $string['privacy:metadata:repository_googledocs:email'] = 'The email of the Google Drive repository user.'; $string['privacy:metadata:repository_googledocs:searchtext'] = 'The Google Drive repository user search text query.'; - -// Deprecated since Moodle 3.3. -$string['oauthinfo'] = '

To use this plugin, you must register your site with Google, as described in the documentation Google OAuth 2.0 setup.

As part of the registration process, you will need to enter the following URL as \'Authorized Redirect URIs\':

{$a->callbackurl}

Once registered, you will be provided with a client ID and secret which can be used to configure certain other Google Drive and Picasa plugins.

Please also note that you will have to enable the service \'Drive API\'.

'; -$string['secret'] = 'Secret'; -$string['clientid'] = 'Client ID';