blocks editing ui: MDL-19398 Remove stupid pass by reference.
Was causing errors when this method was called via block_method_result
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user