aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-05-14 02:14:29 +0200
committerSem <sembrestels@riseup.net>2012-05-14 02:14:29 +0200
commitff129471d04449bfddaed793864f161c71ae2573 (patch)
tree6a9ec35507717a93f36d6566e64fdbd08a4a18fe /actions
parent2665d8f2eaa4fdbcf5790d8a5b9c1afe88e8f5c8 (diff)
downloadelgg-ff129471d04449bfddaed793864f161c71ae2573.tar.gz
elgg-ff129471d04449bfddaed793864f161c71ae2573.tar.bz2
Erased flash components.
Diffstat (limited to 'actions')
-rw-r--r--actions/reset.php20
1 files changed, 7 insertions, 13 deletions
diff --git a/actions/reset.php b/actions/reset.php
index 4ea429da6..af6967f37 100644
--- a/actions/reset.php
+++ b/actions/reset.php
@@ -1,15 +1,9 @@
<?php
-
- //action_gatekeeper();
- global $CONFIG;
-
- $result = reorder_widgets_from_panel(null, null, null, 'custom_index_widgets', 2);
- if ($result) {
- system_message(elgg_echo('widgets:save:success'));
- } else {
- register_error(elgg_echo('widgets:save:failure'));
- }
- forward($_SERVER['HTTP_REFERER']);
-
-?> \ No newline at end of file
+$result = reorder_widgets_from_panel(null, null, null, 'custom_index_widgets', 2);
+if ($result) {
+ system_message(elgg_echo('widgets:save:success'));
+} else {
+ register_error(elgg_echo('widgets:save:failure'));
+}
+forward(REFERER);