On 7/11/07, Rob Church robchur@gmail.com wrote:
On 11/07/07, Andrew Garrett andrew@epstone.net wrote:
wfRunHooks( 'userCan', array( $this, $wgUser, $action, $result ) )?
No, objects don't need to be passed by reference, but variables you're going to want the callback to change (like $result) do.
Oh, right.
I have a few changes to make, as suggested by Simetrical, and then I'll post the revised patch for review.
Rob Church