- Timestamp:
- Oct 23, 2013, 6:04:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/branches/2.51/include/upgradedb.inc.php
r24212 r25093 834 834 conf_update_param('UserAdvManager', pwg_db_real_escape_string($update_conf)); 835 835 } 836 837 838 /* upgrade from 2.50.x to 2.51.0 */ 839 /* ***************************** */ 840 function upgrade_2500_2510() 841 { 842 global $conf; 843 844 load_language('plugin.lang', UAM_PATH); 845 846 // Upgrade $conf_UAM options 847 $conf_UAM = unserialize($conf['UserAdvManager']); 848 849 unset ($conf_UAM['PASSWORDENF']); 850 unset ($conf_UAM['PASSWORD_SCORE']); 851 unset ($conf_UAM['ADMINPASSWENF']); 852 unset ($conf_UAM['PWDRESET']); 853 854 $update_conf = serialize($conf_UAM); 855 856 conf_update_param('UserAdvManager', pwg_db_real_escape_string($update_conf)); 857 858 // Cleanup obsolete database modification 859 $q = ' 860 ALTER TABLE '.USERS_TABLE.' 861 DROP UAM_pwdreset 862 ;'; 863 pwg_query($q); 864 } 836 865 ?>
Note: See TracChangeset
for help on using the changeset viewer.