]> git.mjollnir.org Git - moodle.git/commitdiff
removed override for $USER->use_ajax
authorcap2501 <cap2501>
Mon, 28 Aug 2006 04:30:46 +0000 (04:30 +0000)
committercap2501 <cap2501>
Mon, 28 Aug 2006 04:30:46 +0000 (04:30 +0000)
course/format/topicsajax/format.php

index 5c10a4868e482c85c68a8b130386685623b6e8be..431763f544a5f95f29611eb74dc1007927038157 100644 (file)
@@ -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