Added missing scope to functions

This commit is contained in:
Mark Nelson 2013-07-23 14:44:11 +08:00
parent 323abd6da4
commit 8df94fd093
5 changed files with 7 additions and 7 deletions

View file

@ -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;