Ignore:
Timestamp:
Mar 3, 2013, 5:42:11 PM (12 years ago)
Author:
Eric
Message:

Next version is 2.5.0 :
Compliance with Piwigo 2.5
Code refactory : Change config variables to assoc array and $_POST vars control before writing conf in database - Thx to flop25 for his advices ;-)
Update zh_CN, thanks to : winson and dennisyan
Add pt_BR, thanks to : flaviove

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_Access_Manager/maintain.inc.php

    r11208 r21117  
    1616  $version = $plugin['version'];
    1717       
    18   $default = array($version,'false','false',-1,'false',-1,'false',-1);
     18  $default = array(
     19    'CMVersion'               => $version,
     20    'CM_No_Comment_Anonymous' => 'false',
     21    'CM_GROUPCOMM'            => 'false',
     22    'CM_ALLOWCOMM_GROUP'      => -1,
     23    'CM_GROUPVALID1'          => 'false',
     24    'CM_VALIDCOMM1_GROUP'     => -1,
     25    'CM_GROUPVALID2'          => 'false',
     26    'CM_VALIDCOMM2_GROUP'     => -1
     27    );
    1928
    2029        $query = '
     
    6271      upgradeCM_221_222();
    6372    }
     73
     74    // upgrade from 2.4 to 2.5
     75    if (version_compare($conf_CM[0], '2.5.0') < 0)
     76    {
     77      upgradeCM_240_250();
     78    }
    6479  }
    6580 
Note: See TracChangeset for help on using the changeset viewer.