mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-36357 cleanup - remove double semicolons
This commit is contained in:
parent
a3f3ea2684
commit
0e35ba6ffc
53 changed files with 66 additions and 66 deletions
|
@ -82,7 +82,7 @@ function report_log_can_access_user_report($user, $course) {
|
|||
$today = true;
|
||||
}
|
||||
if (has_capability('report/log:viewtoday', $coursecontext)) {
|
||||
$all = true;;
|
||||
$all = true;
|
||||
}
|
||||
|
||||
if ($today and $all) {
|
||||
|
|
|
@ -127,7 +127,7 @@ foreach ($modinfo->sections as $sectionnum=>$section) {
|
|||
$attributes['class'] = 'dimmed';
|
||||
}
|
||||
|
||||
$activitycell->text = $activityicon . html_writer::link("$CFG->wwwroot/mod/$cm->modname/view.php?id=$cm->id", format_string($cm->name), $attributes);;
|
||||
$activitycell->text = $activityicon . html_writer::link("$CFG->wwwroot/mod/$cm->modname/view.php?id=$cm->id", format_string($cm->name), $attributes);
|
||||
|
||||
$reportrow->cells[] = $activitycell;
|
||||
|
||||
|
|
|
@ -563,7 +563,7 @@ function report_security_check_defaultuserrole($detailed=false) {
|
|||
$result->info = null;
|
||||
$result->details = null;
|
||||
$result->status = null;
|
||||
$result->link = "<a href=\"$CFG->wwwroot/$CFG->admin/settings.php?section=userpolicies\">".get_string('userpolicies', 'admin').'</a>';;
|
||||
$result->link = "<a href=\"$CFG->wwwroot/$CFG->admin/settings.php?section=userpolicies\">".get_string('userpolicies', 'admin').'</a>';
|
||||
|
||||
if (!$default_role = $DB->get_record('role', array('id'=>$CFG->defaultuserroleid))) {
|
||||
$result->status = REPORT_SECURITY_WARNING;
|
||||
|
@ -621,7 +621,7 @@ function report_security_check_guestrole($detailed=false) {
|
|||
$result->info = null;
|
||||
$result->details = null;
|
||||
$result->status = null;
|
||||
$result->link = "<a href=\"$CFG->wwwroot/$CFG->admin/settings.php?section=userpolicies\">".get_string('userpolicies', 'admin').'</a>';;
|
||||
$result->link = "<a href=\"$CFG->wwwroot/$CFG->admin/settings.php?section=userpolicies\">".get_string('userpolicies', 'admin').'</a>';
|
||||
|
||||
if (!$guest_role = $DB->get_record('role', array('id'=>$CFG->guestroleid))) {
|
||||
$result->status = REPORT_SECURITY_WARNING;
|
||||
|
@ -679,7 +679,7 @@ function report_security_check_frontpagerole($detailed=false) {
|
|||
$result->info = null;
|
||||
$result->details = null;
|
||||
$result->status = null;
|
||||
$result->link = "<a href=\"$CFG->wwwroot/$CFG->admin/settings.php?section=frontpagesettings\">".get_string('frontpagesettings','admin').'</a>';;
|
||||
$result->link = "<a href=\"$CFG->wwwroot/$CFG->admin/settings.php?section=frontpagesettings\">".get_string('frontpagesettings','admin').'</a>';
|
||||
|
||||
if (!$frontpage_role = $DB->get_record('role', array('id'=>$CFG->defaultfrontpageroleid))) {
|
||||
$result->status = REPORT_SECURITY_INFO;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue