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

$ordering = get_input('fieldorder');

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

exit;