Skip to:
Content

BuddyPress.org

Changeset 9615


Ignore:
Timestamp:
03/11/2015 05:14:47 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Notifications. Bump database version to current revision, and add some inline docs to version updaters. See #6257.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-functions.php

    r9608 r9615  
    7272     */
    7373    function bp_get_db_version_raw() {
    74         $bp     = buddypress();
     74        $bp = buddypress();
    7575        return !empty( $bp->db_version_raw ) ? $bp->db_version_raw : 0;
    7676    }
  • trunk/src/bp-core/bp-core-update.php

    r9572 r9615  
    249249
    250250        // 2.3.0
    251         if ( $raw_db_version < 9572 ) {
     251        if ( $raw_db_version < 9615 ) {
    252252            bp_update_to_2_3();
    253253        }
     
    410410 */
    411411function bp_update_to_2_2() {
     412
     413    // Also handled by `bp_core_install()`
    412414    if ( bp_is_active( 'messages' ) ) {
    413415        bp_core_install_private_messaging();
     
    431433 */
    432434function bp_update_to_2_3() {
     435
     436    // Also handled by `bp_core_install()`
    433437    if ( bp_is_active( 'notifications' ) ) {
    434438        bp_core_install_notifications();
  • trunk/src/bp-loader.php

    r9572 r9615  
    304304
    305305        $this->version    = '2.3-alpha';
    306         $this->db_version = 9572;
     306        $this->db_version = 9615;
    307307
    308308        /** Loading ***********************************************************/
Note: See TracChangeset for help on using the changeset viewer.