Skip to content

Commit

Permalink
MDL-26425 change all table subclasses to use parent::__construct
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Mar 27, 2011
1 parent ba9164e commit a208aef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mod/quiz/report/overview/overview_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class quiz_report_overview_table extends table_sql {

function quiz_report_overview_table($quiz , $qmsubselect, $groupstudents,
$students, $detailedmarks, $questions, $candelete, $reporturl, $displayoptions, $context){
parent::table_sql('mod-quiz-report-overview-report');
parent::__construct('mod-quiz-report-overview-report');
$this->quiz = $quiz;
$this->qmsubselect = $qmsubselect;
$this->groupstudents = $groupstudents;
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/responses/responses_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class quiz_report_responses_table extends table_sql {

function quiz_report_responses_table($quiz , $qmsubselect, $groupstudents,
$students, $questions, $candelete, $reporturl, $displayoptions, $context){
parent::table_sql('mod-quiz-report-responses-report');
parent::__construct('mod-quiz-report-responses-report');
$this->quiz = $quiz;
$this->qmsubselect = $qmsubselect;
$this->groupstudents = $groupstudents;
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/statistics/statistics_question_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class quiz_report_statistics_question_table extends flexible_table {
var $question;

function quiz_report_statistics_question_table($qid){
parent::flexible_table('mod-quiz-report-statistics-question-table'.$qid);
parent::__construct('mod-quiz-report-statistics-question-table'.$qid);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/statistics/statistics_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class quiz_report_statistics_table extends flexible_table {
var $quiz;

function quiz_report_statistics_table(){
parent::flexible_table('mod-quiz-report-statistics-report');
parent::__construct('mod-quiz-report-statistics-report');
}

/**
Expand Down

0 comments on commit a208aef

Please sign in to comment.