- Timestamp:
- Aug 21, 2013, 10:09:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/include/upgradedb.inc.php
r21075 r24212 805 805 conf_update_param('UserAdvManager_ConfirmMail', pwg_db_real_escape_string($update_conf)); 806 806 } 807 808 809 /* upgrade from 2.50.x to 2.50.11 */ 810 /* ***************************** */ 811 function upgrade_2500_25011() 812 { 813 global $conf; 814 815 load_language('plugin.lang', UAM_PATH); 816 817 // Upgrading options 818 // ----------------- 819 $query = ' 820 SELECT value 821 FROM '.CONFIG_TABLE.' 822 WHERE param = "UserAdvManager" 823 ;'; 824 825 $result = pwg_query($query); 826 $conf_UAM = pwg_db_fetch_assoc($result); 827 828 $Newconf_UAM = unserialize($conf_UAM['value']); 829 830 $Newconf_UAM['ADD_GALLERY_URL_TO_EMAILS'] = 'false'; 831 832 $update_conf = serialize($Newconf_UAM); 833 834 conf_update_param('UserAdvManager', pwg_db_real_escape_string($update_conf)); 835 } 807 836 ?>
Note: See TracChangeset
for help on using the changeset viewer.