Changeset 9034
- Timestamp:
- Feb 1, 2011, 12:09:24 PM (14 years ago)
- Location:
- extensions/GrumPluginClasses
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GrumPluginClasses/classes/GPCCore.class.inc.php
r9003 r9034 35 35 | | | 36 36 | | | * implement getMinified() & setMinifiedState() functions 37 | | | 38 | 1.3.3 | 2011/02/01 | * fix bug on loadConfig() function 39 | | | 40 | | | * update deleteConfig() function (allow to be used to 41 | | | delete the GPCCore config) 42 | | | 43 | | | * mantis bug:2167 37 44 | | | 38 45 | | | … … 89 96 Array('name' => "GPCAjax", 'version' => "3.0.0"), 90 97 Array('name' => "GPCCategorySelector", 'version' => "1.0.1"), 91 Array('name' => "GPCCore", 'version' => "1.3. 2"),98 Array('name' => "GPCCore", 'version' => "1.3.3"), 92 99 Array('name' => "GPCCss", 'version' => "3.0.0"), 93 100 Array('name' => "GPCPagesNavigation", 'version' => "2.0.0"), 94 101 Array('name' => "GPCPublicIntegration", 'version' => "2.0.0"), 95 Array('name' => "GPCRequestBuilder", 'version' => "1.1. 2"),102 Array('name' => "GPCRequestBuilder", 'version' => "1.1.4"), 96 103 Array('name' => "GPCTables", 'version' => "1.5.0"), 97 104 Array('name' => "GPCTabSheet", 'version' => "1.1.1"), … … 119 126 { 120 127 $config=Array(); 121 if(self::loadConfig(self::$pluginName, $config)) 122 { 123 $config['registered'][$plugin]=Array( 124 'name' => $plugin, 125 'release' => $release, 126 'needed' => $GPCneeded, 127 'date' => date("Y-m-d"), 128 ); 129 return(self::saveConfig(self::$pluginName, $config)); 130 } 131 return(false); 128 if(!self::loadConfig(self::$pluginName, $config)) 129 { 130 $config['registered']=array(); 131 } 132 133 $config['registered'][$plugin]=Array( 134 'name' => $plugin, 135 'release' => $release, 136 'needed' => $GPCneeded, 137 'date' => date("Y-m-d"), 138 ); 139 return(self::saveConfig(self::$pluginName, $config)); 132 140 } 133 141 … … 273 281 * 274 282 * @param String $pluginName : the plugin name, must contain only alphanumerical 275 * character 283 * character ; if empty, assume GPCCore config 276 284 * @return Boolean : true if config is deleted, otherwise false 277 285 */ 278 static public function deleteConfig($pluginName) 279 { 286 static public function deleteConfig($pluginName='') 287 { 288 if($pluginName=='') $pluginName=self::$pluginName; 280 289 $sql="DELETE FROM ".CONFIG_TABLE." 281 290 WHERE param='".$pluginName."_config'"; -
extensions/GrumPluginClasses/classes/GPCRequestBuilder.class.inc.php
r9009 r9034 2 2 /* ----------------------------------------------------------------------------- 3 3 class name: GCPRequestBuilder 4 class version : 1.1. 25 plugin version : 3. 3.34 class version : 1.1.4 5 plugin version : 3.4.3 6 6 date : 2010-09-08 7 7 … … 81 81 | 1.1.3 | 2011/01/31 | * mantis bug:2156 82 82 | | | . undefined variable on RBuilder screens 83 | | | 84 | 1.1.4 | 2011/01/31 | * mantis bug:2167 85 | | | 86 | | | 87 | | | 88 | | | 89 | | | 83 90 | | | 84 91 | | | … … 300 307 301 308 static public $pluginName = 'GPCRequestBuilder'; 302 static public $version = '1.1. 0';309 static public $version = '1.1.4'; 303 310 304 311 static private $tables = Array(); … … 316 323 { 317 324 $config=Array(); 318 if(GPCCore::loadConfig(self::$pluginName, $config)) 319 { 320 $config['registered'][$plugin]=Array( 321 'name' => $plugin, 322 'fileName' => $fileName, 323 'date' => date("Y-m-d H:i:s"), 324 'version' => self::$version 325 ); 326 return(GPCCore::saveConfig(self::$pluginName, $config)); 327 } 328 return(false); 325 if(!GPCCore::loadConfig(self::$pluginName, $config)) 326 { 327 $config['registered']=array(); 328 } 329 330 $config['registered'][$plugin]=Array( 331 'name' => $plugin, 332 'fileName' => $fileName, 333 'date' => date("Y-m-d H:i:s"), 334 'version' => self::$version 335 ); 336 return(GPCCore::saveConfig(self::$pluginName, $config)); 329 337 } 330 338 … … 488 496 } 489 497 498 499 /** 500 * delete the config 501 */ 502 static public function deleteConfig() 503 { 504 GPCCore::deleteConfig(self::$pluginName); 505 } 490 506 491 507 /** -
extensions/GrumPluginClasses/gpc_install.class.inc.php
r6975 r9034 69 69 { 70 70 $this->deleteConfig(); 71 GPCCore::deleteConfig(); 72 GPCRequestBuilder::deleteConfig(); 71 73 $result=GPCRequestBuilder::deleteTables(); 72 74 return($result); -
extensions/GrumPluginClasses/gpc_version.inc.php
r9020 r9034 15 15 if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 16 16 17 if(!defined('GPC_VERSION')) define('GPC_VERSION', '3.4. 2');18 if(!defined('GPC_VERSION2')) define('GPC_VERSION2', '03.04.0 2');17 if(!defined('GPC_VERSION')) define('GPC_VERSION', '3.4.3'); 18 if(!defined('GPC_VERSION2')) define('GPC_VERSION2', '03.04.03'); 19 19 ?> -
extensions/GrumPluginClasses/main.inc.php
r9020 r9034 141 141 | | | due to inputText.js ui component) 142 142 | | | 143 | 3.4.3 | 2011/02/01 | * mantis bug:2167 144 | | | . RBuilder and GPCore not correctly initialized on 145 | | | fresh install 143 146 | | | 144 147 | | |
Note: See TracChangeset
for help on using the changeset viewer.