Skip to:
Content

BuddyPress.org

Changeset 2349


Ignore:
Timestamp:
01/19/2010 10:53:47 AM (15 years ago)
Author:
apeatling
Message:

Removing redundant site_option declarations since they already exist in single WP. props wpmuguru

File:
1 edited

Legend:

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

    r2302 r2349  
    3030    else
    3131        return "{$prefix}spam = 0 AND {$prefix}deleted = 0 AND {$prefix}user_status = 0";
    32 }
    33 
    34 if ( !function_exists( 'get_site_option' ) ) {
    35     function get_site_option( $option_value, $default = false ) {
    36         return get_option( $option_value, $default );
    37     }
    38 }
    39 
    40 if ( !function_exists( 'add_site_option' ) ) {
    41     function add_site_option( $option_name, $option_value ) {
    42         return add_option( $option_name, $option_value );
    43     }
    44 }
    45 
    46 if ( !function_exists( 'update_site_option' ) ) {
    47     function update_site_option( $option_name, $option_value ) {
    48         return update_option( $option_name, $option_value );
    49     }
    50 }
    51 
    52 if ( !function_exists( 'delete_site_option' ) ) {
    53     function delete_site_option( $option_name ) {
    54         return delete_option( $option_name );
    55     }
    5632}
    5733
Note: See TracChangeset for help on using the changeset viewer.