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