From ff129471d04449bfddaed793864f161c71ae2573 Mon Sep 17 00:00:00 2001 From: Sem Date: Mon, 14 May 2012 02:14:29 +0200 Subject: Erased flash components. --- actions/reset.php | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'actions') 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 @@ \ 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); -- cgit v1.2.3