MDL-21342 deprecate unused login functions

This commit is contained in:
Petr Škoda 2013-01-04 15:17:14 +01:00
parent b28247fe90
commit c4844bf45c
2 changed files with 4 additions and 6 deletions

View file

@ -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');
}
/**