From: tjhunt Date: Wed, 15 Jul 2009 08:55:52 +0000 (+0000) Subject: blocks editing ui: MDL-19398 Remove stupid pass by reference. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=15a00b4be0deccd9f7a4a2dce9e85d951b7fcdaf;p=moodle.git blocks editing ui: MDL-19398 Remove stupid pass by reference. Was causing errors when this method was called via block_method_result --- diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index 60f4ca6a56..58c7125b44 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -646,7 +646,7 @@ class block_base { * @return boolean * @todo finish documenting this function */ - function user_can_addto(&$page) { + function user_can_addto($page) { return true; }