From: ethem Date: Wed, 7 Nov 2007 10:54:28 +0000 (+0000) Subject: Access modifiers. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d906abaccacb9a9296042d3490edf3a4cb76ca30;p=moodle.git Access modifiers. --- diff --git a/enrol/authorize/enrol_form.php b/enrol/authorize/enrol_form.php index 2549d5aa03..f2afa2f204 100755 --- a/enrol/authorize/enrol_form.php +++ b/enrol/authorize/enrol_form.php @@ -216,7 +216,7 @@ class enrol_authorize_form extends moodleform return (empty($errors) ? true : $errors); } - function other_method_available($currentmethod) + private function other_method_available($currentmethod) { $course = $this->_customdata['course']; @@ -240,7 +240,7 @@ class enrol_authorize_form extends moodleform } } - function validate_aba($aba) + private function validate_aba($aba) { if (ereg("^[0-9]{9}$", $aba)) { $n = 0; @@ -254,7 +254,7 @@ class enrol_authorize_form extends moodleform return false; } - function validate_cc($Num, $Name = "n/a", $Exp = "") + private function validate_cc($Num, $Name = "n/a", $Exp = "") { // Check the expiration date first if (strlen($Exp))