Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/13/2012 05:04:53 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Bump default DB version in bp-core-options.php. Use bp_bump_version() where needed. Update activation/deactivation hooks, and prevent activation error from function not existing. Fixes #3967.

File:
1 edited

Legend:

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

    r5736 r5754  
    166166}
    167167
    168 /** Activation Actions ********************************************************/
    169 
    170 /**
    171  * Runs on BuddyPress activation
    172  *
    173  * @since BuddyPress (1.6)
    174  *
    175  * @uses do_action() Calls 'bp_activation' hook
    176  */
    177 function bp_activation() {
    178     do_action( 'bp_activation' );
    179 }
    180 
    181 /**
    182  * Runs on BuddyPress deactivation
    183  *
    184  * @since BuddyPress (1.6)
    185  *
    186  * @uses do_action() Calls 'bp_deactivation' hook
    187  */
    188 function bp_deactivation() {
    189     do_action( 'bp_deactivation' );
    190 }
    191 
    192 /**
    193  * Runs when uninstalling BuddyPress
    194  *
    195  * @since BuddyPress (1.6)
    196  *
    197  * @uses do_action() Calls 'bp_uninstall' hook
    198  */
    199 function bp_uninstall() {
    200     do_action( 'bp_uninstall' );
    201 }
    202 
    203168/** Admin *********************************************************************/
    204169
Note: See TracChangeset for help on using the changeset viewer.