logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

[bug] Param error in hook_user documentation: msg#00141

Subject: [bug] Param error in hook_user documentation
Issue status update for http://drupal.org/node/29487 Post a follow up: http://drupal.org/project/comments/add/29487

Project:      Documentation
Version:      <none>
Component:    Developer Guide
Category:     bug reports
Priority:     normal
Assigned to:  Anonymous
Reported by:  fgm
Updated by:   fgm
Status:       active

The first param to hook_user is incorrectly documented for HEAD.
http://drupaldocs.org/api/head/function/hook_user


It is called $type in the API description and in the code fragment, but
$op in the parameter descriptions.


The error is not present in the 4.5 and 4.6 doc, where it is called
$op, or the 4.4 doc where it is called $type, so this look likes a
cutting and pasting error.




fgm



<Prev in Thread] Current Thread [Next in Thread>