NOBUG forms - formslib isn't available everywhere anymore. Add it when necessary!

This commit is contained in:
Eloy Lafuente
2010-07-10 14:30:04 +00:00
parent 20e5da7d91
commit 8909da85ae
+6 -2
View File
@@ -19,12 +19,16 @@
* This file contains the generic moodleform bridge for the backup user interface
* as well as the individual forms that relate to the different stages the user
* interface can exist within.
*
*
* @package moodlecore
* @copyright 2010 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->libdir . '/formslib.php');
/**
* Backup moodleform bridge
*
@@ -294,4 +298,4 @@ class backup_confirmation_form extends backup_moodleform {
return $errors;
}
}
}