MDL-76614 quiz: Final deprecation of view_page::$startattemptwarning
This waas deprecated in Moodle 3.1 MDL-46091
This commit is contained in:
@@ -94,16 +94,4 @@ class view_page {
|
||||
public $popupoptions;
|
||||
/** @var bool $quizhasquestions whether the quiz has any questions. */
|
||||
public $quizhasquestions;
|
||||
|
||||
public function __get($field) {
|
||||
switch ($field) {
|
||||
case 'startattemptwarning':
|
||||
debugging('startattemptwarning has been deprecated. It is now always blank.');
|
||||
return '';
|
||||
|
||||
default:
|
||||
debugging('Unknown property ' . $field);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user