Permalink
Browse files

removed override for $USER->use_ajax

  • Loading branch information...
1 parent 5ce6f62 commit 0dcb53d545f2c4fa02a0aa8851bda3fcc00d2b2b cap2501 committed Aug 28, 2006
Showing with 1 addition and 3 deletions.
  1. +1 −3 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

0 comments on commit 0dcb53d

Please sign in to comment.