From 938c7c07a38129deeb4eabe805e3ae80db8ccead Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 22 Jan 2009 12:46:07 +0000 Subject: - Patch #360605 by Berdir: made CVS HEAD compatible with PHP5.3. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 951ac3c95..da9ea6f35 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -705,7 +705,7 @@ function comment_nodeapi_rss_item($node) { /** * Implementation of hook_user_cancel(). */ -function comment_user_cancel(&$edit, &$account, $method) { +function comment_user_cancel($edit, $account, $method) { switch ($method) { case 'user_cancel_block_unpublish': db_update('comment')->fields(array('status' => 0))->condition('uid', $account->uid)->execute(); -- cgit v1.2.3