- removed an unused variable

4.0.x
Dries Buytaert 2001-11-26 09:16:16 +00:00
parent e893d4fb66
commit 255e2d0eb7
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}