- Timestamp:
- Sep 20, 2010, 12:42:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GrumPluginClasses/classes/GPCRequestBuilder.class.inc.php
r6901 r6975 275 275 * @return Boolean : true if registering is Ok, otherwise false 276 276 */ 277 static public function register($plugin Name, $fileName)277 static public function register($plugin, $fileName) 278 278 { 279 279 $config=Array(); 280 280 if(GPCCore::loadConfig(self::$pluginName, $config)) 281 281 { 282 $config['registered'][$plugin Name]=Array(283 'name' => $plugin Name,282 $config['registered'][$plugin]=Array( 283 'name' => $plugin, 284 284 'fileName' => $fileName, 285 285 'date' => date("Y-m-d H:i:s"), … … 379 379 `requestId` char(30) NOT NULL, 380 380 `imageId` mediumint(8) unsigned NOT NULL, 381 PRIMARY KEY (`request `,`id`)381 PRIMARY KEY (`requestId`,`imageId`) 382 382 ) 383 383 CHARACTER SET utf8 COLLATE utf8_general_ci", … … 406 406 `requestId` char(30) NOT NULL, 407 407 `imageId` mediumint(8) unsigned NOT NULL, 408 PRIMARY KEY (`request `,`id`)408 PRIMARY KEY (`requestId`,`imageId`) 409 409 ) 410 410 CHARACTER SET utf8 COLLATE utf8_general_ci"; … … 415 415 } 416 416 417 $tablef=new GPCTables( self::$tables);417 $tablef=new GPCTables(array(self::$tables['temp'])); 418 418 419 419 if(count($tablesCreate)>0) $tablef->create($tablesCreate);
Note: See TracChangeset
for help on using the changeset viewer.