fix auto-stop when starting timesheet with tags (#2067)
This commit is contained in:
@@ -120,6 +120,22 @@ class TimesheetRepository extends EntityRepository
|
||||
}
|
||||
}
|
||||
|
||||
public function begin()
|
||||
{
|
||||
$this->getEntityManager()->beginTransaction();
|
||||
}
|
||||
|
||||
public function commit()
|
||||
{
|
||||
$this->getEntityManager()->flush();
|
||||
$this->getEntityManager()->commit();
|
||||
}
|
||||
|
||||
public function rollback()
|
||||
{
|
||||
$this->getEntityManager()->rollback();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Timesheet $timesheet
|
||||
* @throws \Doctrine\ORM\ORMException
|
||||
|
||||
Reference in New Issue
Block a user