Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/06/2023 09:26:21 AM (14 months ago)
Author:
imath
Message:

Remove global vars declarations when corresponding vars are not used

Props upadalavipul

Closes https://github.com/buddypress/buddypress/pull/96
Fixes #8882

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-member.php

    r13395 r13469  
    10981098     * @since 1.6.0
    10991099     *
    1100      * @param int $group_id ID of the group.
    1101      * @return array Info about group admins (user_id + date_modified).
     1100     * @param  int  $group_id ID of the group.
     1101     * @return array           Info about group admins (user_id + date_modified).
    11021102     */
    11031103    public static function get_group_administrator_ids( $group_id ) {
    1104         global $wpdb;
    1105 
    11061104        if ( empty( $group_id ) ) {
    11071105            return array();
Note: See TracChangeset for help on using the changeset viewer.