mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21695 disabling useless debugging
This commit is contained in:
parent
1453bf7767
commit
b65d2720b2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user