public function hasStarted(ilTestSession $testSession) { if ($testSession->getLastSequence() < 1) { return false; } // WTF ?? heard about tests with only one question !? if ($testSession->getLastSequence() == $this->getFirstSequence()) { return false; } return true; }
public function hasStarted(ilTestSession $testSession) { if ($testSession->getLastSequence() < 1) { return false; } if ($testSession->getLastSequence() == $this->getFirstSequence()) { return false; } return true; }