Differential D21531 Diff 51250 src/infrastructure/daemon/workers/storage/PhabricatorWorkerArchiveTask.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/daemon/workers/storage/PhabricatorWorkerArchiveTask.php
| Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | $this->openTransaction(); | ||||
| ->setID($this->getID()) | ->setID($this->getID()) | ||||
| ->setTaskClass($this->getTaskClass()) | ->setTaskClass($this->getTaskClass()) | ||||
| ->setLeaseOwner(null) | ->setLeaseOwner(null) | ||||
| ->setLeaseExpires(0) | ->setLeaseExpires(0) | ||||
| ->setFailureCount(0) | ->setFailureCount(0) | ||||
| ->setDataID($this->getDataID()) | ->setDataID($this->getDataID()) | ||||
| ->setPriority($this->getPriority()) | ->setPriority($this->getPriority()) | ||||
| ->setObjectPHID($this->getObjectPHID()) | ->setObjectPHID($this->getObjectPHID()) | ||||
| ->setContainerPHID($this->getContainerPHID()) | |||||
| ->setDateCreated($this->getDateCreated()) | ->setDateCreated($this->getDateCreated()) | ||||
| ->insert(); | ->insert(); | ||||
| $this->setDataID(null); | $this->setDataID(null); | ||||
| $this->delete(); | $this->delete(); | ||||
| $this->saveTransaction(); | $this->saveTransaction(); | ||||
| return $active; | return $active; | ||||
| } | } | ||||
| } | } | ||||