Changeset 1017 for trunk/bp-groups.php
- Timestamp:
- 02/04/2009 12:29:21 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r974 r1017 152 152 if ( is_site_admin() ) { 153 153 /* 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 ) ) 155 155 groups_install(); 156 156 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 ) ) 158 158 groups_wire_install(); 159 159 }
Note: See TracChangeset
for help on using the changeset viewer.