Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2012 01:35:34 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Remove unneeded globals and clean up some code in Settings component. See #3989.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-settings/bp-settings-actions.php

    r5588 r5690  
    11<?php
     2
     3/**
     4 * BuddyPress Settings Actions
     5 *
     6 * @todo split actions into separate screen functions
     7 * @package BuddyPress
     8 * @subpackage SettingsActions
     9 */
     10
    211// Exit if accessed directly
    312if ( !defined( 'ABSPATH' ) ) exit;
     
    124133
    125134function bp_core_screen_notification_settings() {
    126     global $bp;
    127135
    128136    if ( bp_action_variables() ) {
     
    154162
    155163function bp_core_screen_delete_account() {
    156     global $bp;
    157164
    158165    if ( bp_action_variables() ) {
Note: See TracChangeset for help on using the changeset viewer.