Version to 3.5.1
Compatible with GLPI 9.3
This commit is contained in:
@@ -4,27 +4,7 @@ function processmaker_install() {
|
||||
global $DB;
|
||||
|
||||
// installation from scratch
|
||||
include_once(GLPI_ROOT."/plugins/processmaker/setup.php");
|
||||
$info = plugin_version_processmaker();
|
||||
switch ($info['version']) {
|
||||
case '3.3.0' :
|
||||
$version = '3.3.0';
|
||||
break;
|
||||
case '3.3.1' :
|
||||
case '3.3.2' :
|
||||
case '3.3.3' :
|
||||
case '3.3.4' :
|
||||
case '3.3.5' :
|
||||
case '3.3.6' :
|
||||
case '3.3.7' :
|
||||
$version = '3.3.1';
|
||||
break;
|
||||
case '3.3.8' :
|
||||
default :
|
||||
$version = '3.3.8';
|
||||
break;
|
||||
}
|
||||
$DB->runFile(GLPI_ROOT . "/plugins/processmaker/install/mysql/$version-empty.sql");
|
||||
$DB->runFile(GLPI_ROOT . "/plugins/processmaker/install/mysql/processmaker-empty.sql");
|
||||
|
||||
// add configuration singleton
|
||||
$query = "INSERT INTO `glpi_plugin_processmaker_configs` (`id`) VALUES (1);";
|
||||
|
||||
Reference in New Issue
Block a user