MDL-21695 disabling useless debugging

This commit is contained in:
Petr Skoda 2010-04-11 14:57:59 +00:00
parent 1453bf7767
commit b65d2720b2

View File

@ -1336,8 +1336,9 @@ class MoodleQuickForm extends HTML_QuickForm_DHTMLRulesTableless {
*/
function setHelpButton($elementname, $buttonargs, $suppresscheck=false, $function='helpbutton'){
global $OUTPUT;
//TODO: obsolete this function completely
if ($function !== 'helpbutton') {
debugging('parameter $function in moodle_form::setHelpButton() is not supported any more');
//debugging('parameter $function in moodle_form::setHelpButton() is not supported any more');
}
$buttonargs = (array)$buttonargs;