Changeset 11425
- Timestamp:
- Jun 19, 2011, 10:24:47 AM (13 years ago)
- Location:
- extensions/TweetThis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/TweetThis/admin.php
r11419 r11425 16 16 conf_update_param('TweetThis', implode(',', $conf['TweetThis'])); 17 17 array_push($page['infos'], l10n('Information data registered in database')); 18 19 // the prefilter changes, we must delete compiled templatess 20 $template->delete_compiled_templates(); 18 21 } 19 22 -
extensions/TweetThis/maintain.inc.php
r11419 r11425 1 1 <?php 2 2 function plugin_install() 3 { 4 global $conf; 5 6 pwg_query('INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("TweetThis","twitter-a,toolbar","TweetButton config");'); 3 { 4 pwg_query('INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("TweetThis","twitter-a,toolbar","TweetThis config");'); 7 5 } 8 6 9 7 function plugin_uninstall() 10 8 { 11 pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param="TweetThis" LIMIT 1 ');9 pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param="TweetThis" LIMIT 1;'); 12 10 } 13 11
Note: See TracChangeset
for help on using the changeset viewer.