getModule('job')->getJobById($jobids[$i]); if(is_null($job)) { $isValid = false; break; } } if($isValid === true) { $result = $this->getModule('bconsole')->bconsoleCommand($this->director, array('.bvfs_update', 'jobid="' . $ids . '"'), $this->user); $this->output = $result->output; $this->error = (integer)$result->exitcode; } else { $this->output = BVFSError::MSG_ERROR_JOB_DOES_NOT_EXISTS; $this->error = BVFSError::ERROR_JOB_DOES_NOT_EXISTS; } } } ?>