mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
Merge branch 'wip-MDL-50678-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
641e3c4346
1 changed files with 0 additions and 8 deletions
|
@ -136,14 +136,6 @@ if ( $show ) {
|
|||
$hook = $show;
|
||||
$show = '';
|
||||
}
|
||||
/// Processing standard security processes
|
||||
if ($course->id != SITEID) {
|
||||
require_login($course);
|
||||
}
|
||||
if (!$cm->visible and !has_capability('moodle/course:viewhiddenactivities', $context)) {
|
||||
echo $OUTPUT->header();
|
||||
notice(get_string("activityiscurrentlyhidden"));
|
||||
}
|
||||
|
||||
/// stablishing flag variables
|
||||
if ( $sortorder = strtolower($sortorder) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue