Changeset 10986 for extensions/SmiliesSupport/maintain.inc.php
- Timestamp:
- May 22, 2011, 12:48:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmiliesSupport/maintain.inc.php
r9764 r10986 4 4 function plugin_install() 5 5 { 6 6 global $conf; 7 7 8 9 10 11 12 8 if (!isset($conf['smiliessupport'])) { 9 $q = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment) 10 VALUES ("smiliessupport","plugins/SmiliesSupport/smilies_1,6,smile.png","Parametres SmiliesSupport");'; 11 pwg_query($q); 12 } 13 13 } 14 14 15 15 function plugin_uninstall() 16 16 { 17 17 global $conf; 18 18 19 20 21 19 if (isset($conf['smiliessupport'])) { 20 pwg_query('DELETE FROM ' . CONFIG_TABLE . ' WHERE param="smiliessupport" LIMIT 1;'); 21 } 22 22 } 23 23
Note: See TracChangeset
for help on using the changeset viewer.