MDL-23062 reverting incorrect fix, this needs to be fixed directly in accesslib

This commit is contained in:
Petr Skoda
2010-07-07 08:01:41 +00:00
parent d85ab7051c
commit 39530dcae2
+1 -1
View File
@@ -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);
}
/**