|
@@ -531,7 +531,7 @@ |
|
|
block discarded – undo |
|
531
|
531
|
/** |
|
532
|
532
|
* Get the topics post count or the forums post/topic count based on permissions |
|
533
|
533
|
* |
|
534
|
|
- * @param $mode string One of topic_posts, forum_posts or forum_topics |
|
|
534
|
+ * @param string $mode string One of topic_posts, forum_posts or forum_topics |
|
535
|
535
|
* @param $data array Array with the topic/forum data to calculate from |
|
536
|
536
|
* @param $forum_id int The forum id is used for permission checks |
|
537
|
537
|
* @return int Number of posts/topics the user can see in the topic/forum |
Please login to merge, or discard this patch.