Skip to:
Content

BuddyPress.org

Changeset 1227 for trunk/bp-friends.php


Ignore:
Timestamp:
03/17/2009 10:43:24 AM (17 years ago)
Author:
apeatling
Message:

Removed LIKE table checks and used the DB version checks for upgrades instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends.php

    r1225 r1227  
    8282    if ( is_site_admin() ) {
    8383        /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */
    84         if ( ( !$wpdb->get_var( "SHOW TABLES LIKE '%{$bp->friends->table_name}%'") ) || ( get_site_option('bp-friends-db-version') < BP_FRIENDS_DB_VERSION ) )
     84        if ( get_site_option('bp-friends-db-version') < BP_FRIENDS_DB_VERSION )
    8585            friends_install();
    8686    }
Note: See TracChangeset for help on using the changeset viewer.