"MDL-15500, change helpbutton debug level to developer"
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user