[documentation] [Documentation bug] Param error in hook_user documentation

rivena drupal-docs at drupal.org
Thu Jun 15 16:44:14 UTC 2006


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:     critical
 Assigned to:  Anonymous
 Reported by:  fgm
 Updated by:   rivena
-Status:       active
+Status:       fixed

Marking fixed because on this page:
http://api.drupal.org/api/4.7/function/hook_user there is no $type, and
it says $op both in the parameters and the code.  What do I know,
though.  ^.^


Anisa.
code illiterate!




rivena



Previous comments:
------------------------------------------------------------------------

Tue, 23 Aug 2005 21:08:32 +0000 : fgm

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.






More information about the documentation mailing list