summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-22 12:46:07 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-22 12:46:07 +0000
commit938c7c07a38129deeb4eabe805e3ae80db8ccead (patch)
tree69e6b62e0aedec33265d1b3c0a50fcd154062dcd /modules/comment/comment.module
parent4488b2481e327cbcbbbb9dfc439e8557a8942f8c (diff)
downloadbrdo-938c7c07a38129deeb4eabe805e3ae80db8ccead.tar.gz
brdo-938c7c07a38129deeb4eabe805e3ae80db8ccead.tar.bz2
- Patch #360605 by Berdir: made CVS HEAD compatible with PHP5.3.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
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();