Skip to:
Content

BuddyPress.org

Changeset 1017 for trunk/bp-groups.php


Ignore:
Timestamp:
02/04/2009 12:29:21 AM (15 years ago)
Author:
matt
Message:

Minor cleanups, mods, and todos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r974 r1017  
    152152    if ( is_site_admin() ) {
    153153        /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */
    154         if ( ( $wpdb->get_var("show tables like '%" . $bp['groups']['table_name'] . "%'") == false ) || ( get_site_option('bp-groups-db-version') < BP_GROUPS_DB_VERSION )  )
     154        if ( ( $wpdb->get_var("SHOW TABLES LIKE '%" . $bp['groups']['table_name'] . "%'") == false ) || ( get_site_option('bp-groups-db-version') < BP_GROUPS_DB_VERSION )  )
    155155            groups_install();
    156156           
    157         if ( ( function_exists('bp_wire_install') && $wpdb->get_var("show tables like '%" . $bp['groups']['table_name_wire'] . "%'") == false ) || ( get_site_option('bp-groups-db-version') < BP_GROUPS_DB_VERSION ) )
     157        if ( ( function_exists('bp_wire_install') && $wpdb->get_var("SHOW TABLES LIKE '%" . $bp['groups']['table_name_wire'] . "%'") == false ) || ( get_site_option('bp-groups-db-version') < BP_GROUPS_DB_VERSION ) )
    158158            groups_wire_install();
    159159    }
Note: See TracChangeset for help on using the changeset viewer.