Changeset 24625
- Timestamp:
- Sep 25, 2013, 3:47:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/include/install.inc.php
r24348 r24625 87 87 conf_update_param('ContactForm_after', $conf['ContactForm_after']); 88 88 89 pwg_query('DELETE FROM `'. CONFIG_TABLE .'` WHERE param IN("persoformtop", "persoformbottom") LIMIT 2;');89 pwg_query('DELETE FROM `'. CONFIG_TABLE .'` WHERE param IN("persoformtop", "persoformbottom");'); 90 90 } 91 91 … … 100 100 conf_update_param('ContactForm', $conf['ContactForm']); 101 101 } 102 103 // just in case something went wrong in a previous version 104 if (empty($conf['ContactForm_before'])) 105 { 106 $conf['ContactForm_before'] = null; 107 conf_update_param('ContactForm_before', $conf['ContactForm_before']); 108 } 109 110 if (empty($conf['ContactForm_after'])) 111 { 112 $conf['ContactForm_after'] = null; 113 conf_update_param('ContactForm_after', $conf['ContactForm_after']); 114 } 102 115 } 103 116
Note: See TracChangeset
for help on using the changeset viewer.