aboutsummaryrefslogtreecommitdiff
path: root/actions/reset.php
blob: 4ea429da6794f050cd1e4439825b12741ca8ae76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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']);

?>