From 220d83935f6ddfeedddbd548987f5b2574e498b5 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Wed, 5 Jun 2013 16:26:29 +0800 Subject: [PATCH] Removed unnecessary subclass constructors --- elements/date/lib.php | 9 --------- elements/grade/lib.php | 9 --------- elements/image/lib.php | 9 --------- elements/studentname/lib.php | 9 --------- 4 files changed, 36 deletions(-) diff --git a/elements/date/lib.php b/elements/date/lib.php index 5fc4fce..6514eb0 100644 --- a/elements/date/lib.php +++ b/elements/date/lib.php @@ -29,15 +29,6 @@ require_once($CFG->dirroot . '/mod/customcert/elements/element.class.php'); class customcert_element_date extends customcert_element_base { - /** - * Constructor. - * - * @param stdClass $element the element data - */ - function __construct($element) { - parent::__construct($element); - } - /** * This function renders the form elements when adding a customcert element. * diff --git a/elements/grade/lib.php b/elements/grade/lib.php index a3d59d0..0847f6e 100644 --- a/elements/grade/lib.php +++ b/elements/grade/lib.php @@ -37,15 +37,6 @@ define('CUSTOMCERT_GRADE_COURSE', '0'); class customcert_element_grade extends customcert_element_base { - /** - * Constructor. - * - * @param stdClass $element the element data - */ - function __construct($element) { - parent::__construct($element); - } - /** * This function renders the form elements when adding a customcert element. * diff --git a/elements/image/lib.php b/elements/image/lib.php index f3ffd29..63ff6e6 100644 --- a/elements/image/lib.php +++ b/elements/image/lib.php @@ -29,15 +29,6 @@ require_once($CFG->dirroot . '/mod/customcert/elements/element.class.php'); class customcert_element_image extends customcert_element_base { - /** - * Constructor. - * - * @param stdClass $element the element data - */ - function __construct($element) { - parent::__construct($element); - } - /** * This function is responsible for adding the element for the first time * to the database when no data has yet been specified, default values set. diff --git a/elements/studentname/lib.php b/elements/studentname/lib.php index 6421ce3..3c380ac 100644 --- a/elements/studentname/lib.php +++ b/elements/studentname/lib.php @@ -29,15 +29,6 @@ require_once($CFG->dirroot . '/mod/customcert/elements/element.class.php'); class customcert_element_studentname extends customcert_element_base { - /** - * Constructor. - * - * @param stdClass $element the element data - */ - function __construct($element) { - parent::__construct($element); - } - /** * Handles rendering the element on the pdf. *