]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-15500, change helpbutton debug level to developer, merged from MOODLE_19_STABLE"
authordongsheng <dongsheng>
Wed, 2 Jul 2008 06:43:21 +0000 (06:43 +0000)
committerdongsheng <dongsheng>
Wed, 2 Jul 2008 06:43:21 +0000 (06:43 +0000)
lib/weblib.php

index fafb8e07d5a11332e51a069c81d2bdb04913210e..c88d830b39899c87ccc1a7e20abe54d0c411f6cc 100644 (file)
@@ -5873,11 +5873,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