The example at http://api.drupal.org/api/drupal/modules--system--system.api.php/functio... is incorrect since the $file parameter is passed via module_invoke_all() and $file is an object, there is no need to specify the parameter is a reference.

Comments

dave reid’s picture

Priority: Normal » Minor
Status: Active » Needs review
StatusFileSize
new579 bytes
andypost’s picture

Status: Needs review » Reviewed & tested by the community

Actually this is a docs bug, coming from #1043360: Warning message and disappearing pictures

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD.

andypost’s picture

Status: Fixed » Reviewed & tested by the community

There's no commit message... so I think this was not commited at all.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed it with another patch. Sorry.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Syd Barrett’s picture

Have you got any news about this bug?