MDL-36357 cleanup - remove double semicolons

This commit is contained in:
Dan Poltawski 2012-11-15 09:51:26 +08:00
parent a3f3ea2684
commit 0e35ba6ffc
53 changed files with 66 additions and 66 deletions

View file

@ -228,7 +228,7 @@ if ($generalforums) {
}
$forum->intro = shorten_text(format_module_intro('forum', $forum, $cm->id), $CFG->forum_shortpost);
$forumname = format_string($forum->name, true);;
$forumname = format_string($forum->name, true);
if ($cm->visible) {
$style = '';
@ -366,7 +366,7 @@ if ($course->id != SITEID) { // Only real courses have learning forums
$printsection = '';
}
$forumname = format_string($forum->name,true);;
$forumname = format_string($forum->name,true);
if ($cm->visible) {
$style = '';

View file

@ -7140,7 +7140,7 @@ function forum_reset_userdata($data) {
if( $removeposts || !empty($data->reset_forum_ratings) ) {
$forumssql = "$allforumssql $typesql";
$forums = $forums = $DB->get_records_sql($forumssql, $params);
$rm = new rating_manager();;
$rm = new rating_manager();
$ratingdeloptions = new stdClass;
$ratingdeloptions->component = 'mod_forum';
$ratingdeloptions->ratingarea = 'post';