mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
MDL-27037 wiki : fixed whitespace.
This commit is contained in:
parent
dc0cabb488
commit
6cf8f401ba
@ -169,7 +169,7 @@ abstract class page_wiki {
|
||||
$currentgroup = groups_get_activity_group($PAGE->cm);
|
||||
$manage = has_capability('mod/wiki:managewiki', $PAGE->cm->context);
|
||||
$edit = has_capability('mod/wiki:editpage', $PAGE->context);
|
||||
if (!$manage and !($edit and groups_is_member($currentgroup))) {
|
||||
if (!$manage and !($edit and groups_is_member($currentgroup))) {
|
||||
unset($this->tabs['edit']);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user