1. Import
This commit is contained in:
22
html/include/ajaxReqJobUnlock.php
Normal file
22
html/include/ajaxReqJobUnlock.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/*=======================================================================
|
||||
*
|
||||
* ajaxReqJobUnlock.php
|
||||
*
|
||||
* Autor: Carsten Annacker
|
||||
*
|
||||
=======================================================================*/
|
||||
|
||||
include_once("../include/global.inc.php");
|
||||
|
||||
getSecHttpVars("1", array("jb_id"));
|
||||
|
||||
$fileHandle = @fopen("../log/ajaxReqJobUnlock_" . date("Ym") . ".log", 'a');
|
||||
@fwrite($fileHandle, "[" . date("Y-m-d H:i:s") . "] \$jb_id = " . $jb_id . "\n");
|
||||
|
||||
updateStmt("job", "jb_id", $jb_id, array("jb_locktime", NULL, "jb_lockuser", NULL));
|
||||
|
||||
@fwrite($fileHandle, "[" . date("Y-m-d H:i:s") . "] ... unlocked\n");
|
||||
@fclose($fileHandle);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user