source: extensions/TweetThis/maintain.inc.php @ 11419

Revision 11419, 298 bytes checked in by mistic100, 9 years ago (diff)

first commit

Line 
1<?php
2function plugin_install()
3{
4  global $conf;
5 
6  pwg_query('INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("TweetThis","twitter-a,toolbar","TweetButton config");');
7}
8
9function plugin_uninstall()
10{
11  pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param="TweetThis" LIMIT 1');
12}
13
14?>
Note: See TracBrowser for help on using the repository browser.