Ignore:
Timestamp:
Feb 9, 2011, 9:35:46 PM (13 years ago)
Author:
Eric
Message:

Bug 1666 fixed : New option to add a customized text in email sent when users lost their password

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/maintain.inc.php

    r9090 r9135  
    2626Best regards,
    2727
    28 The admin of the gallery.','false','false','false','false','false','Sorry, your account has been deleted due to a too long time passed since your last visit.','Sorry, your account has been deprecated due to a too long time passed since your last visit. Please, use the following link to revalidate your account.',-1,-1,'Thank you for registering at _name_of_site_. Your account has been manually validated by _admin_. You may now log in at _link_to_site_ and make any appropriate changes to your profile. Welcome to _name_of_site_!');
     28The admin of the gallery.','false','false','false','false','false','Sorry, your account has been deleted due to a too long time passed since your last visit.','Sorry, your account has been deprecated due to a too long time passed since your last visit. Please, use the following link to revalidate your account.',-1,-1,'Thank you for registering at _name_of_site_. Your account has been manually validated by _admin_. You may now log in at _link_to_site_ and make any appropriate changes to your profile. Welcome to _name_of_site_!','false','You have requested a password reset on our gallery. Please, find below your new connection settings.');
    2929
    3030  $q = '
     
    196196  }
    197197
     198/* Check for upgrade from 2.16 to 2.20 */
     199/* *********************************** */
     200        $query = '
     201SELECT value
     202  FROM '.CONFIG_TABLE.'
     203WHERE param = "UserAdvManager_Version"
     204;';
     205
     206  $data = pwg_db_fetch_assoc(pwg_query($query));
     207 
     208  if ($data['value'] != '2.20.0')
     209  {
     210    /* upgrade from branch 2.16 to 2.20 */
     211    /* ******************************** */
     212    upgrade_216_220();
     213  }
     214
    198215load_conf_from_db('param like \'UserAdvManager\\_%\'');
    199216}
Note: See TracChangeset for help on using the changeset viewer.