Ignore:
Timestamp:
Aug 21, 2013, 10:09:21 PM (11 years ago)
Author:
Eric
Message:

Next version is 2.50.11 :
Evolution 2951 fixed - Add an option to add the gallery URL at the end of emails sent by UAM
Update ru_RU, thanks to : Konve
Update lv_LV, thanks to : agrisans
Add pt_PT, thanks to : ANO

File:
1 edited

Legend:

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

    r21075 r24212  
    805805  conf_update_param('UserAdvManager_ConfirmMail', pwg_db_real_escape_string($update_conf));
    806806}
     807
     808
     809/* upgrade from 2.50.x to 2.50.11 */
     810/* ***************************** */
     811function upgrade_2500_25011()
     812{
     813  global $conf;
     814 
     815  load_language('plugin.lang', UAM_PATH);
     816
     817  // Upgrading options
     818  // -----------------
     819  $query = '
     820SELECT value
     821  FROM '.CONFIG_TABLE.'
     822WHERE 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}
    807836?>
Note: See TracChangeset for help on using the changeset viewer.