Index: classes/class-bp-messages-thread.php
===================================================================
--- classes/class-bp-messages-thread.php	(revision 13494)
+++ classes/class-bp-messages-thread.php	(working copy)
@@ -984,6 +984,8 @@
 	 * @param string $type    The type of messages to get. Either 'all' or 'unread'.
 	 *                        or 'read'. Defaults to 'all'.
 	 * @return int Total thread count for the provided user.
+	 * 
+	 * @global wpdb $wpdb WordPress database object.
 	 */
 	public static function get_total_threads_for_user( $user_id, $box = 'inbox', $type = 'all' ) {
 		global $wpdb;
