Skip to:
Content

BuddyPress.org

Changeset 1227 for trunk/bp-blogs.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-blogs.php

    r1225 r1227  
    120120        if ( is_site_admin() ) {
    121121                /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */
    122                 if ( ( !$wpdb->get_var("SHOW TABLES LIKE '%" . $bp->blogs->table_name . "%'") ) || ( get_site_option('bp-blogs-db-version') < BP_BLOGS_DB_VERSION ) )
     122                if ( get_site_option('bp-blogs-db-version') < BP_BLOGS_DB_VERSION )
    123123                        bp_blogs_install();
    124124        }
Note: See TracChangeset for help on using the changeset viewer.