Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/09/2012 09:38:45 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Remove a bunch of unneeded globals and clean up some code in Core component. See #3989.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-cache.php

    r5663 r5683  
    4949 *
    5050 * @since 1.6
    51  * @uses $wpdb WordPress database object for queries.
    52  * @uses $bp BuddyPress global object.
    53  *
     51 * @global $wpdb WordPress database object for queries.
    5452 * @param array $args See $defaults definition for more details
    5553 * @return mixed Metadata cache for the specified objects, or false on failure.
    5654 */
    5755function bp_update_meta_cache( $args = array() ) {
    58     global $bp, $wpdb;
     56    global $wpdb;
    5957   
    6058    $defaults = array(
Note: See TracChangeset for help on using the changeset viewer.