Added GLPI_TICKET_ID to case after ticket creation via simplified interface
Added GLPI_ITEM_TYPE to case at ticket creation via simplified interface Fixed problem of ticket text in simplified interface Fixed problem of viewing pm task when task is too high in simplified interface Created scripts folder and moved importUsersGLPI2PM.php into it Set version to 3.1.6
This commit is contained in:
32
scripts/importUsersGLPI2PM.php
Normal file
32
scripts/importUsersGLPI2PM.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/*
|
||||
*
|
||||
* */
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Original Author of file: Olivier Moron
|
||||
// Purpose of file: script to be used to purge logos from DB
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
// Ensure current directory as run command prompt
|
||||
chdir(dirname($_SERVER["SCRIPT_FILENAME"]));
|
||||
|
||||
define('DO_NOT_CHECK_HTTP_REFERER', 1);
|
||||
define('GLPI_ROOT', '../../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
include_once 'inc/processmaker.class.php' ;
|
||||
|
||||
$myCronTask = new CronTask;
|
||||
|
||||
if( $myCronTask->getFromDBbyName( "PluginProcessmakerProcessmaker", "pmusers" ) ) {
|
||||
$myCronTask->start();
|
||||
|
||||
$ret = PluginProcessmakerProcessmaker::cronPMUsers( $myCronTask ) ;
|
||||
|
||||
$myCronTask->end( $ret ) ;
|
||||
} else
|
||||
echo "Cron not found!\n" ;
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user