diff --git a/backup/util/helper/backup_cron_helper.class.php b/backup/util/helper/backup_cron_helper.class.php index 18524bf7ce5..1188bf7fc54 100644 --- a/backup/util/helper/backup_cron_helper.class.php +++ b/backup/util/helper/backup_cron_helper.class.php @@ -315,11 +315,11 @@ abstract class backup_cron_automated_helper { /** * Works out the next time the automated backup should be run. * - * @param mixed $ignroedtimezone all settings are in server timezone! + * @param mixed $ignoredtimezone all settings are in server timezone! * @param int $now timestamp, should not be in the past, most likely time() * @return int timestamp of the next execution at server time */ - public static function calculate_next_automated_backup($ignroedtimezone, $now) { + public static function calculate_next_automated_backup($ignoredtimezone, $now) { $config = get_config('backup'); diff --git a/lib/deprecatedlib.php b/lib/deprecatedlib.php index 840734e8256..b45202fdf60 100644 --- a/lib/deprecatedlib.php +++ b/lib/deprecatedlib.php @@ -75,7 +75,7 @@ function get_timezone_offset($tz) { * @return array */ function get_list_of_timezones() { - debugging('update_timezone_records() is deprecated, use core_date::get_list_of_timezones() instead', DEBUG_DEVELOPER); + debugging('get_list_of_timezones() is deprecated, use core_date::get_list_of_timezones() instead', DEBUG_DEVELOPER); return core_date::get_list_of_timezones(); }