Skip to content

Commit

Permalink
Merge branch 'MDL-42489-24' of git://github.com/ankitagarwal/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_24_STABLE
  • Loading branch information
Damyon Wiese committed Nov 4, 2013
2 parents abaaa8c + 8cbfc96 commit 5287178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/util/helper/backup_cron_helper.class.php
Expand Up @@ -554,7 +554,7 @@ public static function get_automated_backup_state($rundirective = self::RUN_ON_S
public static function set_state_running($running = true) {
if ($running === true) {
if (self::get_automated_backup_state() === self::STATE_RUNNING) {
throw new backup_exception('backup_automated_already_running');
throw new backup_helper_exception('backup_automated_already_running');
}
set_config('backup_auto_running', '1', 'backup');
} else {
Expand Down

0 comments on commit 5287178

Please sign in to comment.