Commit 07569a4f authored by Dries's avatar Dries

- Patch #1019922 by Jody Lynn: corrections to the comment_access() function description.

parent 13f3c1d9
......@@ -1406,15 +1406,15 @@ function comment_user_delete($account) {
}
/**
* This is *not* a hook_access() implementation. This function is called
* to determine whether the current user has access to a particular comment.
* Determines whether the current user has access to a particular comment.
*
* Authenticated users can edit their comments as long they have not been
* replied to. This prevents people from changing or revising their
* statements based on the replies to their posts.
* replied to. This prevents people from changing or revising their statements
* based on the replies to their posts.
*
* @param $op
* The operation that is to be performed on the comment. Only 'edit' is recognized now.
* The operation that is to be performed on the comment. Only 'edit' is
* recognized now.
* @param $comment
* The comment object.
* @return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment