Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/01/2015 08:09:01 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Notifications: Add table_name_meta to global tables in loader. See #6257.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-notifications/bp-notifications-loader.php

    r9572 r9573  
    6565     */
    6666    public function setup_globals( $args = array() ) {
     67        $bp = buddypress();
     68
    6769        // Define a slug, if necessary
    6870        if ( !defined( 'BP_NOTIFICATIONS_SLUG' ) ) {
     
    7274        // Global tables for the notifications component
    7375        $global_tables = array(
    74             'table_name' => bp_core_get_table_prefix() . 'bp_notifications'
     76            'table_name'      => $bp->table_prefix . 'bp_notifications',
     77            'table_name_meta' => $bp->table_prefix . 'bp_notifications_meta',
    7578        );
    7679
Note: See TracChangeset for help on using the changeset viewer.