community MDL-23170 fix user_can_edit

This commit is contained in:
jerome mouneyrac 2010-07-09 06:57:18 +00:00
parent 9358f71f8b
commit 029a311744

View File

@ -43,7 +43,7 @@ class block_community extends block_list {
if (!has_capability('moodle/community:add', get_context_instance(CONTEXT_SYSTEM))) { // Should be page context?
return false;
}
parent::user_can_edit();
return parent::user_can_edit();
}
function get_content() {