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

Revision 11425, 279 bytes checked in by mistic100, 9 years ago (diff)

delete compiled templates on config save

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