Ignore:
Timestamp:
Sep 20, 2010, 12:42:58 AM (14 years ago)
Author:
grum
Message:

Migration from version 3.1.0 to 3.2.0 implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GrumPluginClasses/classes/GPCRequestBuilder.class.inc.php

    r6901 r6975  
    275275   * @return Boolean : true if registering is Ok, otherwise false
    276276   */
    277   static public function register($pluginName, $fileName)
     277  static public function register($plugin, $fileName)
    278278  {
    279279    $config=Array();
    280280    if(GPCCore::loadConfig(self::$pluginName, $config))
    281281    {
    282       $config['registered'][$pluginName]=Array(
    283         'name' => $pluginName,
     282      $config['registered'][$plugin]=Array(
     283        'name' => $plugin,
    284284        'fileName' => $fileName,
    285285        'date' => date("Y-m-d H:i:s"),
     
    379379  `requestId` char(30) NOT NULL,
    380380  `imageId` mediumint(8) unsigned NOT NULL,
    381   PRIMARY KEY  (`request`,`id`)
     381  PRIMARY KEY  (`requestId`,`imageId`)
    382382)
    383383CHARACTER SET utf8 COLLATE utf8_general_ci",
     
    406406  `requestId` char(30) NOT NULL,
    407407  `imageId` mediumint(8) unsigned NOT NULL,
    408   PRIMARY KEY  (`request`,`id`)
     408  PRIMARY KEY  (`requestId`,`imageId`)
    409409)
    410410CHARACTER SET utf8 COLLATE utf8_general_ci";
     
    415415    }
    416416
    417     $tablef=new GPCTables(self::$tables);
     417    $tablef=new GPCTables(array(self::$tables['temp']));
    418418
    419419    if(count($tablesCreate)>0) $tablef->create($tablesCreate);
Note: See TracChangeset for help on using the changeset viewer.