ElggInstaller::resumeInstall PHP Method

resumeInstall() protected method

Check if this is a case of a install being resumed and figure out where to continue from. Returns the best guess on the step.
protected resumeInstall ( string $step ) : string
$step string Installation step to resume from
return string
    protected function resumeInstall($step)
    {
        // only do a resume from the first step
        if ($step !== 'welcome') {
            return;
        }
        if ($this->status['database'] == FALSE) {
            return;
        }
        if ($this->status['settings'] == FALSE) {
            forward("install.php?step=settings");
        }
        if ($this->status['admin'] == FALSE) {
            forward("install.php?step=admin");
        }
        // everything appears to be set up
        forward("install.php?step=complete");
    }