]> git.mjollnir.org Git - moodle.git/commitdiff
Sorry, I committed some debug code yesterday.
authortjhunt <tjhunt>
Fri, 26 Sep 2008 03:10:56 +0000 (03:10 +0000)
committertjhunt <tjhunt>
Fri, 26 Sep 2008 03:10:56 +0000 (03:10 +0000)
lib/form/textarea.php

index 3db9843b6bd3c3a7e091af73639c2354711ef118..b8885a3253563ea968b1d78fb5b282a9aeeb3e0e 100644 (file)
@@ -34,24 +34,18 @@ class MoodleQuickForm_textarea extends HTML_QuickForm_textarea{
         } else {
             $helpbuttonargs = $helpbuttonargs;
         }
-        print_object($helpbuttonargs); // DONOTCOMMIT
-        debugging("'$function'", DEBUG_DEVELOPER); // DONOTCOMMIT
         //we do this to to return html instead of printing it
         //without having to specify it in every call to make a button.
         if ('helpbutton' == $function){
-                debugging("'tadpole'", DEBUG_DEVELOPER); // DONOTCOMMIT
             $defaultargs = array('', '', 'moodle', true, false, '', true);
             $helpbuttonargs = $helpbuttonargs + $defaultargs ;
             if (in_array($helpbuttonargs[0], array('emoticons2', 'text2', 'richtext2'))) {
-                debugging("'frog'", DEBUG_DEVELOPER); // DONOTCOMMIT
                 $SESSION->inserttextform = $this->_formid;
                 $SESSION->inserttextfield = $this->getAttribute('name');
             }
         } else if ('editorhelpbutton' == $function) {
-                debugging("'eft'", DEBUG_DEVELOPER); // DONOTCOMMIT
             $specialhelp = array_intersect($helpbuttonargs, array('emoticons2', 'text2', 'richtext2'));
             if (!empty($specialhelp)) {
-                debugging("'newt'", DEBUG_DEVELOPER); // DONOTCOMMIT
                 $SESSION->inserttextform = $this->_formid;
                 $SESSION->inserttextfield = $this->getAttribute('name');
             }