formslib / tags: MDL-17889 debugging message if you try to create a tags field when $CFG->usertags if false.

This commit is contained in:
tjhunt
2009-01-16 07:34:29 +00:00
parent c060fc6a12
commit 8942fd77be
+4
View File
@@ -85,6 +85,10 @@ class MoodleQuickForm_tags extends MoodleQuickForm_group {
}
}
}
global $CFG;
if (empty($CFG->usetags)) {
debugging('A tags formslib field has been created even thought $CFG->usetags is false.', DEBUG_DEVELOPER);
}
}
protected function _load_official_tags() {