Skip to:
Content

BuddyPress.org

Changeset 2695 for trunk/bp-groups.php


Ignore:
Timestamp:
02/12/2010 12:31:49 PM (15 years ago)
Author:
apeatling
Message:

Fixing the use of deprecated template tags in bp-default. Merged the fetching of BP runtime settings into one query to significantly reduce the number of run time database hits. Fixed #1916

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r2684 r2695  
    100100}
    101101add_action( 'bp_setup_globals', 'groups_setup_globals' );
    102 add_action( 'admin_menu', 'groups_setup_globals', 2 );
    103102
    104103function groups_setup_root_component() {
     
    110109function groups_check_installed() {
    111110    /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */
    112     if ( get_site_option('bp-groups-db-version') < BP_GROUPS_DB_VERSION )
     111    if ( $bp->site_options['bp-groups-db-version'] < BP_GROUPS_DB_VERSION )
    113112        groups_install();
    114113}
Note: See TracChangeset for help on using the changeset viewer.