Skip to content

Commit

Permalink
MDL-49828 timezones: fix typos introduced by MDL-49684
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Skoda committed Apr 12, 2015
1 parent d755125 commit e49cb05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backup/util/helper/backup_cron_helper.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,11 @@ public static function get_backup_status_array() {
/**
* 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');

Expand Down
2 changes: 1 addition & 1 deletion lib/deprecatedlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit e49cb05

Please sign in to comment.