From: cap2501 Date: Mon, 28 Aug 2006 04:30:46 +0000 (+0000) Subject: removed override for $USER->use_ajax X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0dcb53d545f2c4fa02a0aa8851bda3fcc00d2b2b;p=moodle.git removed override for $USER->use_ajax --- diff --git a/course/format/topicsajax/format.php b/course/format/topicsajax/format.php index 5c10a4868e..431763f544 100644 --- a/course/format/topicsajax/format.php +++ b/course/format/topicsajax/format.php @@ -60,9 +60,7 @@ $strmoveup = get_string('moveup'); $strmovedown = get_string('movedown'); - //use temporarily until I figure out how to add a field to the user object - $temporary_override = true; - if (!empty($USER->use_ajax) || $temporary_override ){ + if (!empty($USER->use_ajax)){ /* * if user doesnt want AJAX, than they wont get it, * from here everything detects $COURSE->javascriptportal