Skip to:
Content

BuddyPress.org

Changeset 4456


Ignore:
Timestamp:
06/04/2011 11:16:32 PM (13 years ago)
Author:
djpaul
Message:

Remove add_blog_option/update_blog_option compatibility functions as core doesn't use these any more

File:
1 edited

Legend:

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

    r4137 r4456  
    2222        function get_blog_option( $blog_id, $option_name, $default = false ) {
    2323            return get_option( $option_name, $default );
    24         }
    25     }
    26 
    27     if ( !function_exists( 'add_blog_option' ) ) {
    28         function add_blog_option( $blog_id, $option_name, $option_value ) {
    29             return add_option( $option_name, $option_value );
    30         }
    31     }
    32 
    33     if ( !function_exists( 'update_blog_option' ) ) {
    34         function update_blog_option( $blog_id, $option_name, $option_value ) {
    35             return update_option( $option_name, $option_value );
    3624        }
    3725    }
Note: See TracChangeset for help on using the changeset viewer.