]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19799 Silencing annoying debugging error for popup_form use
authornicolasconnault <nicolasconnault>
Thu, 27 Aug 2009 06:38:17 +0000 (06:38 +0000)
committernicolasconnault <nicolasconnault>
Thu, 27 Aug 2009 06:38:17 +0000 (06:38 +0000)
lib/deprecatedlib.php

index c2036a5421a2221f1896331e337147632a9fa719..9c62a02d3232c26b4b3da3b7f4bed878377f7316 100644 (file)
@@ -3272,7 +3272,7 @@ function popup_form($baseurl, $options, $formid, $selected='', $nothing='choose'
     $targetwindow='self', $selectlabel='', $optionsextra=NULL, $submitvalue='', $disabled=false, $showbutton=false) {
     global $OUTPUT;
 
-    debugging('popup_form() has been deprecated. Please change your code to use $OUTPUT->select($select).');
+    // debugging('popup_form() has been deprecated. Please change your code to use $OUTPUT->select($select).');
 
     if (empty($options)) {
         return '';