source: extensions/edit_gmaps/maintain.inc.php @ 9377

Last change on this file since 9377 was 9377, checked in by cljosse, 13 years ago

[edit_gmaps] adding support to the altitude.

File size: 406 bytes
Line 
1<?php
2function plugin_install()
3{
4  $q = '
5ALTER TABLE '.IMAGES_TABLE.' ADD COLUMN `alt` DOUBLE(9,6)';
6  pwg_query($q);
7}
8
9function plugin_activate()
10{
11  $dir_name = basename( dirname(__FILE__) );
12
13}
14
15function plugin_deactivate()
16{
17 
18  cl_meta_invalidate_cache();
19}
20
21function plugin_uninstall()
22{
23  $q = '
24ALTER TABLE '.IMAGES_TABLE.' DROP COLUMN `alt`';
25  pwg_query( $q );
26}
27?>
Note: See TracBrowser for help on using the repository browser.