* @throws Exception */
($reportId)
| 136 | * @throws Exception |
| 137 | */ |
| 138 | public function deleteThresholdByReport($reportId) |
| 139 | { |
| 140 | $sql = $this->db->getQueryBuilder(); |
| 141 | $sql->delete(self::TABLE_NAME) |
| 142 | ->where($sql->expr()->eq('report', $sql->createNamedParameter($reportId))); |
| 143 | $sql->executeStatement(); |
| 144 | return true; |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Update the sequence of one threshold |
no test coverage detected