Skip to:
Content

BuddyPress.org

Changeset 2695 for trunk/bp-activity.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-activity.php

    r2692 r2695  
    9090}
    9191add_action( 'bp_setup_globals', 'bp_activity_setup_globals' );
    92 add_action( 'admin_menu', 'bp_activity_setup_globals', 2 );
    9392
    9493function bp_activity_check_installed() {
    9594    global $wpdb, $bp;
    9695
    97     if ( get_site_option('bp-activity-db-version') < BP_ACTIVITY_DB_VERSION )
     96    if ( $bp->site_options['bp-activity-db-version'] < BP_ACTIVITY_DB_VERSION )
    9897        bp_activity_install();
    9998}
Note: See TracChangeset for help on using the changeset viewer.