public function save()
 {
     if ($this->getID() === null) {
         throw new Exception(pht('Trying to archive a task with no ID.'));
     }
     $other = new PhabricatorWorkerActiveTask();
     $conn_w = $this->establishConnection('w');
     $this->openTransaction();
     queryfx($conn_w, 'DELETE FROM %T WHERE id = %d', $other->getTableName(), $this->getID());
     $result = parent::insert();
     $this->saveTransaction();
     return $result;
 }