- Timestamp:
- Nov 28, 2011, 9:07:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/branches/2.30/include/upgradedb.inc.php
r12272 r12667 559 559 } 560 560 } 561 562 563 /* upgrade from 2.30.x to 2.30.2 */ 564 /* ***************************** */ 565 function upgrade_2300_2302() 566 { 567 global $conf; 568 569 load_language('plugin.lang', UAM_PATH); 570 571 // Upgrading options 572 // ----------------- 573 $query = ' 574 SELECT value 575 FROM '.CONFIG_TABLE.' 576 WHERE param = "UserAdvManager" 577 ;'; 578 579 $result = pwg_query($query); 580 $conf_UAM = pwg_db_fetch_assoc($result); 581 582 $Newconf_UAM = unserialize($conf_UAM['value']); 583 584 $Newconf_UAM[39] = 'false'; 585 $Newconf_UAM[40] = l10n('UAM_Default_RejectConnexion_Txt'); 586 587 $update_conf = serialize($Newconf_UAM); 588 589 conf_update_param('UserAdvManager', pwg_db_real_escape_string($update_conf)); 590 } 561 591 ?>
Note: See TracChangeset
for help on using the changeset viewer.