Call the parent's constructor in renderers

This commit is contained in:
David Mudrak 2010-01-04 18:13:17 +00:00
parent d10ee0be7f
commit fa95cb4e77
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class moodle_workshopallocation_manual_renderer extends moodle_renderer_base {
* @return void
*/
public function __construct($page, $output) {
$this->page = $page;
parent::__construct($page);
$this->output = $output;
}

View File

@ -47,7 +47,7 @@ class moodle_mod_workshop_renderer extends moodle_renderer_base {
* @return void
*/
public function __construct($page, $output) {
$this->page = $page;
parent::__construct($page);
$this->output = $output;
}