From 10e24786f9a7d5585c7df4d953084375c25941a4 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 26 Sep 2008 03:10:56 +0000 Subject: [PATCH] Sorry, I committed some debug code yesterday. --- lib/form/textarea.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/form/textarea.php b/lib/form/textarea.php index 3db9843b6b..b8885a3253 100644 --- a/lib/form/textarea.php +++ b/lib/form/textarea.php @@ -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'); } -- 2.39.5