mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
removed unnecessary calls to get_site()
This commit is contained in:
parent
afd97e8449
commit
222ac91bc9
26 changed files with 219 additions and 415 deletions
|
@ -4,9 +4,7 @@
|
|||
global $CFG;
|
||||
|
||||
if (empty($courseid)) {
|
||||
if ($site = get_site()) {
|
||||
$courseid = $site->id;
|
||||
}
|
||||
$courseid = SITEID;
|
||||
}
|
||||
|
||||
$GLOSSARY_CONCEPT_IS_ENTRY = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue