Changeset 4640 for trunk/bp-core/admin/bp-core-admin.php
- Timestamp:
- 07/10/2011 03:14:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-admin.php
r4596 r4640 171 171 // Settings form submitted, now save the settings. First, set active components 172 172 if ( isset( $_POST['bp_components'] ) ) { 173 // Save settings and upgrade schema 174 require_once( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-update.php' ); 173 175 $bp->active_components = stripslashes_deep( $_POST['bp_components'] ); 176 bp_core_install( $bp->active_components ); 177 174 178 bp_update_option( 'bp-active-components', $bp->active_components ); 175 179 }
Note: See TracChangeset
for help on using the changeset viewer.