From 07569a4f38765e85db5b7c5448422bb204ce8a0f Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Thu, 13 Jan 2011 00:43:21 +0000 Subject: [PATCH] - Patch #1019922 by Jody Lynn: corrections to the comment_access() function description. --- modules/comment/comment.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 78d35c039400..31e37be89849 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -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 -- GitLab