There's a typo in the hook_user function's documentation. Take a look at: http://drupaldocs.org/api/head/function/hook_user
The first parameter is documented and used in the sample code as $op but it's declared as $type.

CommentFileSizeAuthor
hooks_core.php.diff527 bytesdrewish

Comments

dries’s picture

Status: Needs review » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)