Changeset 6 for trunk/cleanup.php


Ignore:
Timestamp:
Apr 22, 2015, 10:27:05 PM (10 years ago)
Author:
gegorbet
Message:

changes since 2013, mostly for airvata/thrift

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cleanup.php

    r5 r6  
    77 */
    88
    9 include_once "/home/us3/bin/listen-config.php";
     9include_once "/export/home/us3/bin/listen-config.php";
    1010$me              = 'cleanup.php';
    1111$email_address   = '';
     
    1616$status          = '';
    1717
    18 function gfac_cleanup( $us3_db, $requestID, $gfac_link )
     18function gfac_cleanup( $us3_db, $reqID, $gfac_link )
    1919{
    2020   global $dbhost;
     
    3434   global $status;
    3535   global $stdout;
    36 
     36   global $requestID;
     37
     38   $requestID = $reqID;
    3739   $db = $us3_db;
    3840   write_log( "$me: debug db=$db; requestID=$requestID" );
     
    468470      $query = "UPDATE noise SET "                                                 .
    469471               "editedDataID="                                                     .
    470                "(SELECT editedDataID FROM editedData WHERE editGUID='$editGUID')," .
     472               "(SELECT editedDataID FROM model WHERE modelGUID='$modelGUID'),"    .
    471473               "modelID="                                                          .
    472474               "(SELECT modelID FROM model WHERE modelGUID='$modelGUID')"          .
     
    529531   global $org_name;
    530532   global $admin_email;
     533   global $db;
    531534   global $dbhost;
    532535   global $requestID;
     
    593596   Submission Time : $submittime
    594597   Analysis ID     : $gfacID
     598   Request ID      : $requestID  ( $db )
    595599   RunID           : $runID
    596600   EditID          : $editID
Note: See TracChangeset for help on using the changeset viewer.