mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-21342 deprecate unused login functions
This commit is contained in:
parent
b28247fe90
commit
c4844bf45c
@ -649,7 +649,6 @@ $string['error'] = 'Error';
|
||||
$string['errorcreatingactivity'] = 'Unable to create an instance of activity \'{$a}\'';
|
||||
$string['errorfiletoobig'] = 'The file was bigger than the limit of {$a} bytes';
|
||||
$string['errornouploadrepo'] = 'There is no upload repository enabled for this site';
|
||||
$string['errortoomanylogins'] = 'Sorry, you have exceeded the allowed number of login attempts. Restart your browser.';
|
||||
$string['errorwhenconfirming'] = 'You are not confirmed yet because an error occurred. If you clicked on a link in an email to get here, make sure that the line in your email wasn\'t broken or wrapped. You may have to use cut and paste to reconstruct the link properly.';
|
||||
$string['everybody'] = 'Everybody';
|
||||
$string['executeat'] = 'Execute at';
|
||||
|
@ -36,9 +36,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @deprecated
|
||||
*/
|
||||
function update_login_count() {
|
||||
// note: remove 'errortoomanylogins' string from moodle.php too
|
||||
// TODO: uncomment in Moodle 2.5, delete function in Moodle 2.6
|
||||
//debugging('update_login_count() is deprecated, all calls need to be removed');
|
||||
// TODO: delete function in Moodle 2.6
|
||||
debugging('update_login_count() is deprecated, all calls need to be removed');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -46,8 +45,8 @@ function update_login_count() {
|
||||
* @deprecated
|
||||
*/
|
||||
function reset_login_count() {
|
||||
// TODO: uncomment in Moodle 2.5, delete function in Moodle 2.6
|
||||
//debugging('reset_login_count() is deprecated, all calls need to be removed');
|
||||
// TODO: delete function in Moodle 2.6
|
||||
debugging('reset_login_count() is deprecated, all calls need to be removed');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user