Changeset 9572 for trunk/src/bp-core/bp-core-update.php
- Timestamp:
- 03/01/2015 05:22:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-update.php
r9503 r9572 212 212 bp_core_install(); 213 213 214 // 1.5 214 // 1.5.0 215 215 if ( $raw_db_version < 1801 ) { 216 216 bp_update_to_1_5(); … … 218 218 } 219 219 220 // 1.6 220 // 1.6.0 221 221 if ( $raw_db_version < 6067 ) { 222 222 bp_update_to_1_6(); 223 223 } 224 224 225 // 1.9 225 // 1.9.0 226 226 if ( $raw_db_version < 7553 ) { 227 227 bp_update_to_1_9(); … … 233 233 } 234 234 235 // 2.0 235 // 2.0.0 236 236 if ( $raw_db_version < 7892 ) { 237 237 bp_update_to_2_0(); … … 243 243 } 244 244 245 // 2.2 245 // 2.2.0 246 246 if ( $raw_db_version < 9181 ) { 247 247 bp_update_to_2_2(); 248 } 249 250 // 2.3.0 251 if ( $raw_db_version < 9572 ) { 252 bp_update_to_2_3(); 248 253 } 249 254 } … … 415 420 bp_cleanup_friendship_activities(); 416 421 } 422 } 423 } 424 425 /** 426 * 2.3.0 update routine. 427 * 428 * - Add notifications meta table 429 * 430 * @since BuddyPress (2.3.0) 431 */ 432 function bp_update_to_2_3() { 433 if ( bp_is_active( 'notifications' ) ) { 434 bp_core_install_notifications(); 417 435 } 418 436 }
Note: See TracChangeset
for help on using the changeset viewer.