added reverted attribute to DiffTaskResult
This commit is contained in:
parent
4870225d66
commit
5b6470a53b
3 changed files with 14 additions and 1 deletions
|
@ -33,4 +33,10 @@ class DiffTaskResultMapper extends QBMapper {
|
|||
return $this->findEntities($qb);
|
||||
}
|
||||
|
||||
public function markReverted(int $id) {
|
||||
$taskResult = $this->find($id);
|
||||
$taskResult->setReverted(True);
|
||||
return $this->update($taskResult);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue