source:
extensions/GooglePlusOne/maintain.inc.php
@
30463
Last change on this file since 30463 was 19365, checked in by , 12 years ago | |
---|---|
File size: 338 bytes |
Line | |
---|---|
1 | <?php |
2 | function plugin_install() |
3 | { |
4 | $google_conf = array( |
5 | 'size' => 'medium', |
6 | 'position' => 'toolbar', |
7 | 'annotation' => 'bubble', |
8 | ); |
9 | |
10 | conf_update_param('GooglePlusOne', serialize($google_conf)); |
11 | } |
12 | |
13 | function plugin_uninstall() |
14 | { |
15 | pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param="GooglePlusOne" LIMIT 1;'); |
16 | } |
17 | |
18 | ?> |
Note: See TracBrowser
for help on using the repository browser.