mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
removed override for $USER->use_ajax
This commit is contained in:
parent
5ce6f628ba
commit
0dcb53d545
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user