aboutsummaryrefslogtreecommitdiff
path: root/actions/profile/fields/reorder.php
blob: 27c716749b731e62e19a1acc5c2135d0af7fd6a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * Elgg profile plugin reorder fields
 *
 */

$ordering = get_input('fieldorder');

$result = elgg_save_config('profile_custom_fields', $ordering);

// called by ajax so we exit
exit;