Skip to:
Content

bbPress.org

Changeset 4634


Ignore:
Timestamp:
12/22/2012 09:13:06 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Add missing type in @return phpdoc tags for current user group status checks. See #2119.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/extend/buddypress/functions.php

    r4633 r4634  
    493493 * @uses bp_get_current_group_id()
    494494 * @uses groups_is_user_admin()
    495  * @return If current user is an admin of the current group
     495 * @return bool If current user is an admin of the current group
    496496 */
    497497function bbp_group_is_admin() {
     
    522522 * @uses bp_get_current_group_id()
    523523 * @uses groups_is_user_admin()
    524  * @return If current user is a moderator of the current group
     524 * @return bool If current user is a moderator of the current group
    525525 */
    526526function bbp_group_is_mod() {
     
    551551 * @uses bp_get_current_group_id()
    552552 * @uses groups_is_user_admin()
    553  * @return If current user is a member of the current group
     553 * @return bool If current user is a member of the current group
    554554 */
    555555function bbp_group_is_member() {
     
    580580 * @uses bp_get_current_group_id()
    581581 * @uses groups_is_user_admin()
    582  * @return If current user is banned from the current group
     582 * @return bool If current user is banned from the current group
    583583 */
    584584function bbp_group_is_banned() {
     
    609609 * @uses bp_get_current_group_id()
    610610 * @uses groups_is_user_admin()
    611  * @return If current user the creator of the current group
     611 * @return bool If current user the creator of the current group
    612612 */
    613613function bbp_group_is_creator() {
Note: See TracChangeset for help on using the changeset viewer.