Bug fixes

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-11-02 02:38:31 +04:00
parent 2f04aeab6d
commit 9cb5bd0760
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 1 additions and 15 deletions

View File

@ -33,13 +33,6 @@ require_once($CFG->libdir . '/formslib.php');
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
class service_edit_form extends moodleform { class service_edit_form extends moodleform {
/**
* @param string $baseurl
*/
public function __construct($baseurl) {
parent::__construct($baseurl);
}
/** /**
* Defines the standard structure of the form. * Defines the standard structure of the form.
* *
@ -113,13 +106,6 @@ class service_edit_form extends moodleform {
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
class service_backup_form extends moodleform { class service_backup_form extends moodleform {
/**
* @param string $baseurl
*/
public function __construct($baseurl) {
parent::__construct($baseurl);
}
/** /**
* Defines the standard structure of the form. * Defines the standard structure of the form.
* *

View File

@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
/** @var \admin_root $ADMIN */ /* @var \admin_root $ADMIN */
if ($hassiteconfig) { if ($hassiteconfig) {
$ADMIN->add( $ADMIN->add(