From 324d210fe435eb5ceefa7c056f9a87233d2d4cec Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 1 Apr 2012 12:23:07 +0200 Subject: [PATCH] MDL-32251 one more E_STRICT fix --- blocks/moodleblock.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index 46f2bbacc02..644c225efe2 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -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'); }