Coding stype cleanup

This commit is contained in:
tjhunt 2009-04-16 08:59:23 +00:00
parent a3a1708f63
commit d91a4be06d

View File

@ -1092,7 +1092,7 @@ function get_array_of_activities($courseid) {
*/
function &get_fast_modinfo(&$course, $userid=0) {
global $CFG, $USER, $DB;
if(!empty($CFG->enableavailability)) {
if (!empty($CFG->enableavailability)) {
require_once($CFG->libdir.'/conditionlib.php');
}