Skip to content

Commit

Permalink
Remove deprecated set_blocking() call on asynchronous_backup_task obj…
Browse files Browse the repository at this point in the history
…ect (MDL-67667)
  • Loading branch information
ngandrass committed Apr 29, 2024
1 parent 4a6d408 commit 39b871f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion classes/BackupManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ protected static function initiate_backup(string $type, int $id, int $user_id):
// Enqueue as adhoc task
$bc->set_status(backup::STATUS_AWAITING);
$asynctask = new \core\task\asynchronous_backup_task();
$asynctask->set_blocking(false);
$asynctask->set_custom_data(['backupid' => $backupid]);
$asynctask->set_userid($user_id);
\core\task\manager::queue_adhoc_task($asynctask);
Expand Down

0 comments on commit 39b871f

Please sign in to comment.