// | This program is free software; you can redistribute it and/or | // | modify it under the terms of the GNU General Public License | // | as published by the Free Software Foundation; either version 2 | // | of the License, or (at your option) any later version. | // | | // | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // | GNU General Public License for more details. | // | | // | You should have received a copy of the GNU General Public License | // | along with this program; if not, write to the Free Software Foundation, | // | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | // | | // +---------------------------------------------------------------------------+ // require_once '../../lib-common.php'; if (isset($_USER['uid'])) { $userid = $_USER['uid']; } else { $userid = 1; } $taskid = COM_applyFilter($_GET['taskid'], true); $taskuser = COM_applyFilter($_GET['taskuser'], true); $processid = COM_applyFilter($_GET['processid'], true); COM_errorLog("Auto Batch test - Process id: {$processid}, Task id: {$taskid}"); $nfclass = new nexflow($processid, $userid); $nfclass->complete_task($taskid); $nfclass->private_nfNextStep($taskid, $processid); echo COM_refresh("{$_CONF['site_url']}/nexflow/index.php?taskuser={$taskuser}"); exit;