| 1 |
<?php |
<?php |
| 2 |
// $Id: carto.install,v 1.3 2006/10/07 22:12:05 openwereld Exp $ |
// $Id: carto.install,v 1.4 2006/10/13 13:22:51 openwereld Exp $ |
| 3 |
|
|
| 4 |
function carto_install() |
function carto_install() |
| 5 |
{ |
{ |
| 143 |
function carto_uninstall() |
function carto_uninstall() |
| 144 |
{ |
{ |
| 145 |
// todo: think this over before risking deleting content |
// todo: think this over before risking deleting content |
| 146 |
//db_query( "drop table carto_filter_nodes" ); |
db_query( "drop table carto_filter_nodes" ); |
| 147 |
//db_query( "drop table carto_filter_blocks" ); |
db_query( "drop table carto_filter_blocks" ); |
| 148 |
|
db_query( "drop table carto_wms_node" ); |
| 149 |
|
db_query( "drop table carto_wms_layer_properties" ); |
| 150 |
|
|
| 151 |
variable_del( 'carto_mappingwidgets_dir' ); |
variable_del( 'carto_mappingwidgets_dir' ); |
| 152 |
} |
} |