summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-11-26 09:16:16 +0000
committerDries Buytaert <dries@buytaert.net>2001-11-26 09:16:16 +0000
commit255e2d0eb7e25a8e7f61e18f12c0889c4ac5cdc6 (patch)
treece249f9773d07665e0ae33d6f2838642980757d5
parente893d4fb66af78e077ccc4372eb91ac8db855653 (diff)
downloadbrdo-255e2d0eb7e25a8e7f61e18f12c0889c4ac5cdc6.tar.gz
brdo-255e2d0eb7e25a8e7f61e18f12c0889c4ac5cdc6.tar.bz2
- removed an unused variable
-rw-r--r--includes/comment.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/comment.inc b/includes/comment.inc
index 983117392..f10fb89c9 100644
--- a/includes/comment.inc
+++ b/includes/comment.inc
@@ -242,7 +242,7 @@ function comment_thread_min($cid, $threshold) {
}
}
-function comment_thread_max($cid, $mode, $threshold, $level = 0, $dummy = 0) {
+function comment_thread_max($cid, $mode, $threshold, $level = 0) {
global $user;
/*
@@ -261,7 +261,7 @@ function comment_thread_max($cid, $mode, $threshold, $level = 0, $dummy = 0) {
comment_view($comment, (comment_visible($comment, $threshold) ? comment_links($comment, 0) : 0));
print "</td></tr></table>\n";
- comment_thread_max($comment->cid, $mode, $threshold, $level + 1, $dummy + 1);
+ comment_thread_max($comment->cid, $mode, $threshold, $level + 1);
}
}