예제 #1
0
/**
 * Handle activation
 */
function bp_links_activate()
{
    // load upgrade tools
    require_once 'bp-links-upgrade.php';
    // make sure its initialized
    bp_links_init();
    // make sure component is set up
    bp_links_setup_component();
    // run upgrader
    bp_links_upgrade();
}
예제 #2
0
/**
 * Handle activation
 */
function bp_links_activate()
{
    require_once 'bp-links-upgrade.php';
    bp_links_setup_globals();
    bp_links_upgrade();
}