Added missing scope to functions
This commit is contained in:
parent
323abd6da4
commit
8df94fd093
5 changed files with 7 additions and 7 deletions
|
@ -49,7 +49,7 @@ class mod_customcert_edit_form extends moodleform {
|
|||
/**
|
||||
* Form definition.
|
||||
*/
|
||||
function definition() {
|
||||
public function definition() {
|
||||
global $DB;
|
||||
|
||||
$this->id = $this->_customdata['customcertid'];
|
||||
|
@ -94,7 +94,7 @@ class mod_customcert_edit_form extends moodleform {
|
|||
/**
|
||||
* Fill in the current page data for this customcert.
|
||||
*/
|
||||
function definition_after_data() {
|
||||
public function definition_after_data() {
|
||||
global $DB;
|
||||
|
||||
$mform = $this->_form;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue