Changeset 9026
- Timestamp:
- Feb 1, 2011, 12:27:03 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMenuManager/amm_install.class.inc.php
r9025 r9026 188 188 $this->config['newInstall']='n'; 189 189 $this->updateFrom_020200(); 190 case '03.00.00': 191 $this->config['newInstall']='n'; 192 $this->updateFrom_030000(); 190 193 default: 191 194 /* … … 299 302 pwg_query($sql); 300 303 301 /*302 $users=new GPCUsers();303 $uList=array();304 foreach($users->getList() as $user)305 {306 $uList[]=$user['id'];307 }308 $sql="UPDATE `".$this->tables['urls']."`309 SET accessUsers='".pwg_db_real_escape_string(implode(',', $uList))."';";310 pwg_query($sql);311 */312 304 if(isset($this->config['amm_sections_items'])) 313 305 { … … 324 316 } 325 317 } 318 319 320 321 /** 322 * update the database from the release 3.0.0 323 * 324 * - add auto increment on personnalised_lang table 325 */ 326 private function updateFrom_030000() 327 { 328 global $user; 329 330 $sql="ALTER TABLE `".$this->tables['personalised']."` MODIFY COLUMN `id` INTEGER NOT NULL AUTO_INCREMENT;"; 331 pwg_query($sql); 332 } 333 334 335 326 336 327 337 /**
Note: See TracChangeset
for help on using the changeset viewer.