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

admin_gatekeeper();
$ordering = get_input('fieldorder');
//if (!empty($ordering))
$result = set_plugin_setting('user_defined_fields',$ordering,'profile');

exit;