MDL-27471 minor fixups
This commit is contained in:
@@ -351,7 +351,7 @@ abstract class moodleform_mod extends moodleform {
|
||||
|
||||
if ($this->_features->rating) {
|
||||
require_once($CFG->dirroot.'/rating/lib.php');
|
||||
$rm = new rating_manager();;
|
||||
$rm = new rating_manager();
|
||||
|
||||
$mform->addElement('header', 'modstandardratings', get_string('ratings', 'rating'));
|
||||
|
||||
|
||||
@@ -1966,6 +1966,8 @@ function message_post_message($userfrom, $userto, $message, $format) {
|
||||
* Returns a list of all user ids who have used messaging in the site
|
||||
* This was the simple way to code the SQL ... is it going to blow up
|
||||
* on large datasets?
|
||||
*
|
||||
* @todo: deprecated - to be deleted in 2.2
|
||||
*/
|
||||
function message_get_participants() {
|
||||
global $CFG, $DB;
|
||||
|
||||
Reference in New Issue
Block a user