2010-01-29 Miguel de Dios <miguel.dedios@artica.es>

* godmode/reporting/map_builder.php: use "clean_cache" in the deleting of
	visual map.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-01-29 09:31:00 +00:00
parent 3e9bef610d
commit 29454856e7
2 changed files with 8 additions and 2 deletions

View File

@ -1,11 +1,16 @@
2010-01-27 Miguel de Dios <miguel.dedios@artica.es>
2010-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/map_builder.php: use "clean_cache" in the deleting of
visual map.
2010-01-28 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: add the check if there aren't any
connection to map.
* operation/menu.php: change parameter "id" to "id_map".
2010-01-27 Miguel de Dios <miguel.dedios@artica.es>
2010-01-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add function "deleteMap" for to delete the map
and other rows in tables related.

View File

@ -102,6 +102,7 @@ if ($delete_layout) {
$result = process_sql_delete ('tlayout', array ('id' => $id_layout));
if ($result) {
echo '<h3 class="suc">'.__('Successfully deleted').'</h3>';
clean_cache();
} else {
echo '<h3 class="error">'.__('Not deleted. Error deleting data').'</h3>';
}