Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/09/2012 09:38:45 PM (13 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/admin/bp-core-components.php

    r5524 r5683  
    211211 * @since BuddyPress (1.6)
    212212 * @todo Use settings API
    213  * @global WPDB $wpdb
    214213 * @global BuddyPress $bp
    215214 * @return false On failure
    216215 */
    217216function bp_core_admin_components_settings_handler() {
    218     global $wpdb, $bp;
     217    global $bp;
    219218
    220219    if ( isset( $_POST['bp-admin-component-submit'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.