mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-15109 glossary dml conversion
This commit is contained in:
parent
ea05eebf92
commit
ae8c356614
27 changed files with 558 additions and 628 deletions
|
@ -1,11 +1,10 @@
|
|||
<?php // $Id$
|
||||
|
||||
function glossary_show_entry_TEMPLATE($course, $cm, $glossary, $entry, $mode='', $hook='', $printicons=1, $ratings=NULL, $aliases=true) {
|
||||
|
||||
global $CFG, $USER;
|
||||
global $CFG, $USER, $DB;
|
||||
|
||||
|
||||
$user = get_record('user', 'id', $entry->userid);
|
||||
$user = $DB->get_record('user', array('id'=>$entry->userid));
|
||||
$strby = get_string('writtenby', 'glossary');
|
||||
|
||||
if ($entry) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue