public function release( $job ) {
		$data  = array(
			'job'         => serialize( $job ),
			'attempts'    => $job->attempts(),
			'reserved_at' => null,
		);
		$where = array(
			'id' => $job->id(),
		);

		if ( $this->database->update( $this->jobs_table, $data, $where ) ) {
			return true;
		}

		return false;
	}
public function release( $job ) {
		$data  = array(
			'job'         => serialize( $job ),
			'attempts'    => $job->attempts(),
			'reserved_at' => null,
		);
		$where = array(
			'id' => $job->id(),
		);

		if ( $this->database->update( $this->jobs_table, $data, $where ) ) {
			return true;
		}

		return false;
	}
public function release ( $ job ) { $ data = array ( 'job' => serialize ( $ job ) , 'attempts' => $ job -> attempts ( ) , 'reserved_at' => null , ) ; $ where = array ( 'id' => $ job -> id ( ) , ) ; if ( $ this -> database -> update ( $ this -> jobs_table , $ data , $ where ) ) { return true ; } return false ; }
Release a job back onto the queue.

@param Job $job

@return bool
Release a job back onto the queue .