Changeset 8994
- Timestamp:
- Jan 30, 2011, 10:33:56 PM (13 years ago)
- Location:
- extensions/AMenuManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMenuManager/amm_install.class.inc.php
r8991 r8994 272 272 273 273 $tables_def = create_table_add_character_set($tables_def); 274 $this->tablef->setTables(array( 275 $this->tables['personalised_langs'], 276 $this->tables['blocks']) 277 ); 274 278 $result=$this->tablef->create($tables_def); 275 279 … … 292 296 293 297 $users=new GPCUsers(); 298 $uList=array(); 299 foreach($users->getList() as $user) 300 { 301 $uList[]=$user['id']; 302 } 294 303 $sql="UPDATE `".$this->tables['urls']."` 295 SET accessUsers='".pwg_db_real_escape_string(implode(',', $u sers->getList()))."';";304 SET accessUsers='".pwg_db_real_escape_string(implode(',', $uList))."';"; 296 305 pwg_query($sql); 297 306 -
extensions/AMenuManager/maintain.inc.php
r8989 r8994 21 21 { 22 22 @include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php'); 23 // need GPC release greater or equal than 3. 3.324 if(CommonPlugin::checkGPCRelease(3, 3,3))23 // need GPC release greater or equal than 3.4.0 24 if(CommonPlugin::checkGPCRelease(3,4,0)) 25 25 { 26 @include_once("amm_install.class.inc.php");26 include_once("amm_install.class.inc.php"); 27 27 $gpcInstalled=true; 28 28 }
Note: See TracChangeset
for help on using the changeset viewer.