diff options
Diffstat (limited to 'actions/profile/fields/reorder.php')
-rw-r--r-- | actions/profile/fields/reorder.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/actions/profile/fields/reorder.php b/actions/profile/fields/reorder.php new file mode 100644 index 000000000..27c716749 --- /dev/null +++ b/actions/profile/fields/reorder.php @@ -0,0 +1,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; |