MDL-27471 minor fixups

This commit is contained in:
Eloy Lafuente (stronk7)
2011-05-23 12:42:15 +02:00
parent 2b04c41c58
commit b47dcdf0de
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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'));
+2
View File
@@ -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;