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 |
Rev | Line | |
---|---|---|
[11600] | 1 | <?php |
2 | function plugin_install() | |
[15121] | 3 | { |
[15994] | 4 | $google_conf = array( |
[15121] | 5 | 'size' => 'medium', |
6 | 'position' => 'toolbar', | |
[15123] | 7 | 'annotation' => 'bubble', |
[15121] | 8 | ); |
9 | ||
[15994] | 10 | conf_update_param('GooglePlusOne', serialize($google_conf)); |
[11600] | 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.