From e49cb057a15dd182402afafd27c06d1b19c4de55 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 12 Apr 2015 12:11:10 +1200 Subject: [PATCH] MDL-49828 timezones: fix typos introduced by MDL-49684 --- backup/util/helper/backup_cron_helper.class.php | 4 ++-- lib/deprecatedlib.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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(); }