Changeset 4
- Timestamp:
- Jun 13, 2012, 5:30:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cleanup.php
r1 r4 14 14 $db = ''; 15 15 $editXMLFilename = ''; 16 $status = ''; 16 17 17 18 function gfac_cleanup( $us3_db, $requestID, $gfac_link ) … … 31 32 global $editXMLFilename; 32 33 global $submittime; 34 global $status; 33 35 34 36 $db = $us3_db; … … 535 537 536 538 // Get GFAC status and message 537 // For right now, since we don't get clear and concise message538 //$gfac_message = get_gfac_message( $gfacID );539 //if ( $gfac_message === false ) $gfac_message = "";539 // function get_gfac_message() also sets global $status 540 $gfac_message = get_gfac_message( $gfacID ); 541 if ( $gfac_message === false ) $gfac_message = ""; 540 542 541 543 // Create a status to put in the subject line … … 597 599 Job Type : $jobtype 598 600 GFAC Status : $status 601 GFAC Message : $gfac_message 599 602 "; 600 603 601 // This would change to ( $status != 'COMPLETE' ) or something like that. 602 if ( $type != "success" ) $message .= "Error Message : $msg\n"; 604 if ( $type != "success" ) $message .= "Grid Ctrl Error : $msg\n"; 603 605 604 606 // Handle the error case where an error occurs before fetching the … … 668 670 function parse_message( $xml ) 669 671 { 672 global $status; 670 673 $status = ""; 671 674 $gfac_message = "";
Note:
See TracChangeset
for help on using the changeset viewer.