mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
highlighting sloppy globals hacks
This commit is contained in:
parent
3f975b9c6b
commit
0a9d1b3b13
3 changed files with 7 additions and 3 deletions
|
@ -525,7 +525,7 @@ function survey_shorten_name ($name, $numwords) {
|
|||
* @param object $question
|
||||
*/
|
||||
function survey_print_multi($question) {
|
||||
global $USER, $DB, $qnum, $checklist, $DB, $OUTPUT;
|
||||
global $USER, $DB, $qnum, $checklist, $DB, $OUTPUT; //TODO: this is sloppy globals abuse
|
||||
|
||||
$stripreferthat = get_string("ipreferthat", "survey");
|
||||
$strifoundthat = get_string("ifoundthat", "survey");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue