Ignore:
Timestamp:
Oct 23, 2013, 6:04:53 PM (10 years ago)
Author:
Eric
Message:

r25092 merged from trunk to branch 2.51 :
Bug 1109 fixed - Password enforcement features have been removed from UAM and set in a new dedicated plugin : Password Policy

Language files cleanup

Bug 2984 fixed - Display issue in Miscellaneous options
Bug 2986 fixed - Status for unvalidated users can not be "Guest" and is forced to "-------"
Bug 2987 fixed - New registered users have to follow a link on confirmation page before log in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/branches/2.51/include/upgradedb.inc.php

    r24212 r25093  
    834834  conf_update_param('UserAdvManager', pwg_db_real_escape_string($update_conf));
    835835}
     836
     837
     838/* upgrade from 2.50.x to 2.51.0 */
     839/* ***************************** */
     840function 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 = '
     860ALTER TABLE '.USERS_TABLE.'
     861DROP UAM_pwdreset
     862;';
     863  pwg_query($q);
     864}
    836865?>
Note: See TracChangeset for help on using the changeset viewer.