aboutsummaryrefslogtreecommitdiff
path: root/actions/profile/fields/reorder.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/profile/fields/reorder.php')
-rw-r--r--actions/profile/fields/reorder.php12
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..a30e97bac
--- /dev/null
+++ b/actions/profile/fields/reorder.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Elgg profile plugin reorder fields
+ *
+ * @package ElggProfile
+ */
+
+$ordering = get_input('fieldorder');
+//if (!empty($ordering))
+$result = set_plugin_setting('user_defined_fields',$ordering,'profile');
+
+exit; \ No newline at end of file