mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
dropping studentcanpost in glossary, MDL_7170
This commit is contained in:
parent
323edd4ba4
commit
baecd8cd72
8 changed files with 19 additions and 15 deletions
|
@ -108,11 +108,6 @@
|
|||
$glossary->timemodified = time();
|
||||
|
||||
// Setting the default values if no values were passed
|
||||
if ( isset($xmlglossary['STUDENTCANPOST'][0]['#']) ) {
|
||||
$glossary->studentcanpost = addslashes($xmlglossary['STUDENTCANPOST'][0]['#']);
|
||||
} else {
|
||||
$glossary->studentcanpost = $CFG->glossary_studentspost;
|
||||
}
|
||||
if ( isset($xmlglossary['ENTBYPAGE'][0]['#']) ) {
|
||||
$glossary->entbypage = addslashes($xmlglossary['ENTBYPAGE'][0]['#']);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue