Changeset 373


Ignore:
Timestamp:
06/10/10 16:38:17 (10 years ago)
Author:
sander
Message:

Change job state when uploading results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/www/app/controllers/jobs_controller.php

    r372 r373  
    695695                // Update the Job with the new Result 
    696696                $this->Job->id = $job['Job']['id']; 
    697                 $this->Job->save(array('result_id' => $this->Job->Result->id)); 
     697                $this->Job->save(array( 
     698                        'result_id' => $this->Job->Result->id, 
     699                        'state' => Job::STATE_FINISHED, 
     700                )); 
    698701 
    699702                return $this->Job->Result->id; 
Note: See TracChangeset for help on using the changeset viewer.