mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
removed override for $USER->use_ajax
This commit is contained in:
parent
5ce6f628ba
commit
0dcb53d545
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue