Skip to content
Snippets Groups Projects
Commit c44a7ec0 authored by Jared Hancock's avatar Jared Hancock
Browse files

upgrader: Better fix for bogus migration task

parent 0cfb1aa9
No related branches found
No related tags found
No related merge requests found
......@@ -314,7 +314,7 @@ class StreamUpgrader extends SetupWizard {
function getPendingTask() {
$pending=array();
if (($task=$this->getTask()) && $task)
if (($task=$this->getTask()) && ($task instanceof MigrationTask))
return ($task->isFinished()) ? 1 : 0;
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment