Changeset 8034 for extensions/captcha/maintain.inc.php
- Timestamp:
- Dec 8, 2010, 1:53:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/captcha/maintain.inc.php
r8030 r8034 16 16 } 17 17 18 function plugin_activate() 19 { 20 global $conf; 21 22 if (!isset($conf['captcha_theme'])) 23 { 24 $q = ' 25 INSERT INTO '.CONFIG_TABLE.' (param,value,comment) 26 VALUES 27 ("captcha_theme","red","Captcha theme") 28 ;'; 29 pwg_query($q); 30 } 31 } 32 18 33 19 34 function plugin_uninstall() 20 35 { 21 foreach (array('captcha_publickey','captcha_privatekey' ) as $param)36 foreach (array('captcha_publickey','captcha_privatekey', 'captcha_theme') as $param) 22 37 { 23 38 $q = '
Note: See TracChangeset
for help on using the changeset viewer.