Ignore:
Timestamp:
Mar 8, 2010, 10:35:31 PM (14 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager] Pre-2.14.0

  • Improving upgrade process
  • Removing obsolete files
  • Bug 1467 : Pending FCK Editor functions because there is still a problem with special characters transformed to code. They are not correctly displayed in email received and i'ven't found a solution at this time.
  • Bug 1488 fixed : When an admin creates an account, an information email is always sent to created user if this option is enabled.
File:
1 edited

Legend:

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

    r5064 r5084  
    280280function upgrade_213()
    281281{
    282   $data = explode(';', $conf['nbc_UserAdvManager']);
     282        global $conf;
     283 
     284  $conf_UAM = explode(';', $conf['nbc_UserAdvManager']);
     285
     286  $upgrade_UAM = array("'".$conf_UAM[0]."'","'".$conf_UAM[1]."'","'".$conf_UAM[2]."'",$conf_UAM[3],$conf_UAM[4],$conf_UAM[5],"'".$conf_UAM[6]."'","'".$conf_UAM[7]."'","'".$conf_UAM[8]."'",$conf_UAM[9],"'".$conf_UAM[10]."'","'".$conf_UAM[11]."'","'".$conf_UAM[12]."'","'".$conf_UAM[13]."'","'".$conf_UAM[14]."'","'".$conf_UAM[15]."'","'".$conf_UAM[16]."'","'".$conf_UAM[17]."'","'".$conf_UAM[18]."'","'".$conf_UAM[19]."'","'".$conf_UAM[20]."'",'false');
    283287
    284288  $query = '
    285289UPDATE '.CONFIG_TABLE.'
    286   SET value = "'.addslashes(serialize($data)).'"
     290  SET value = "'.addslashes(serialize($upgrade_UAM)).'"
    287291  WHERE param = "nbc_UserAdvManager"
    288292;';
Note: See TracChangeset for help on using the changeset viewer.