MDL-27037 wiki : fixed whitespace.

This commit is contained in:
Aparup Banerjee 2011-11-11 13:27:27 +08:00
parent dc0cabb488
commit 6cf8f401ba

View File

@ -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 {