- Timestamp:
- Aug 18, 2010, 10:56:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/branches/2.15/maintain.inc.php
r6256 r6776 18 18 global $conf; 19 19 20 $default1 = array('false','false', 'false',-1,-1,-1,'false','false','',-1,'','','false','','false',100,'false','false',10,'Hello.20 $default1 = array('false','false',-1,-1,-1,'false','false','',-1,'','','false','','false',100,'false','false',10,'Hello. 21 21 22 22 This is a reminder because a very long time passed since your last visit on our gallery. If you do not want anymore to use your access account, please let us know by replying to this email. Your account will be deleted. … … 48 48 INSERT INTO '.CONFIG_TABLE.' (param, value, comment) 49 49 VALUES ("UserAdvManager_ConfirmMail","'.addslashes(serialize($default2)).'","UAM ConfirmMail parameters") 50 ;'; 51 pwg_query($q); 52 53 $q = ' 54 INSERT INTO '.CONFIG_TABLE.' (param, value, comment) 55 VALUES ("UserAdvManager_Redir","0","UAM Redirections") 50 56 ;'; 51 57 pwg_query($q); … … 160 166 } 161 167 162 /* Check if old version is > 2.15 */ 163 /* ****************************** */ 164 // In preparation of next releases 165 /* $query = ' 168 /* Old version is > 2.15 */ 169 /* ********************* */ 170 $query = ' 166 171 SELECT param 167 172 FROM '.CONFIG_TABLE.' 168 WHERE param LIKE "UserAdvManager%"173 WHERE param = "UserAdvManager_Redir" 169 174 ;'; 170 175 $count = pwg_db_num_rows(pwg_query($query)); 171 176 172 if ($count == 2)173 { 174 upgrade_215 1_2152();175 } 176 */ 177 if ($count == 0) 178 { 179 upgrade_2153_2154(); 180 } 181 177 182 load_conf_from_db('param like \'UserAdvManager\\_%\''); 178 183 }
Note: See TracChangeset
for help on using the changeset viewer.