"MDL-15500, change helpbutton debug level to developer"

This commit is contained in:
dongsheng
2008-07-02 06:38:09 +00:00
parent 71f16fd1b3
commit 359c7bbfa8
+2 -2
View File
@@ -5860,11 +5860,11 @@ function helpbutton ($page, $title, $module='moodle', $image=true, $linktext=fal
$imagetext='') {
global $CFG, $COURSE;
//warning if ever $text parameter is used
//warning if ever $text parameter is used
//$text option won't work properly because the text needs to be always cleaned and,
// when cleaned... html tags always break, so it's unusable.
if ( isset($text) && $text!='') {
debugging('Warning: it\'s not recommended to use $text parameter in helpbutton ($page=' . $page . ', $module=' . $module . ') function');
debugging('Warning: it\'s not recommended to use $text parameter in helpbutton ($page=' . $page . ', $module=' . $module . ') function', DEBUG_DEVELOPER);
}
// fix for MDL-7734