MDL-23062 reverting incorrect fix, this needs to be fixed directly in accesslib
This commit is contained in:
+1
-1
@@ -634,7 +634,7 @@ class moodle_page {
|
||||
if ($this->_legacypageobject) {
|
||||
return $this->_legacypageobject->user_allowed_editing();
|
||||
}
|
||||
return has_any_capability($this->all_editing_caps(), $this->context, null, false);
|
||||
return has_any_capability($this->all_editing_caps(), $this->context);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user