MDL-32251 one more E_STRICT fix

This commit is contained in:
Petr Skoda 2012-04-01 12:23:07 +02:00
parent d9d61fa340
commit 324d210fe4

View File

@ -571,7 +571,7 @@ class block_base {
return false;
}
function get_extra_capabilities() {
static function get_extra_capabilities() {
return array('moodle/block:view', 'moodle/block:edit');
}