Suppress potential SQL injection warning as they are false positives
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
8a64433ec9
commit
79801ad263
|
@ -180,6 +180,7 @@ class JobList implements IJobList {
|
||||||
* get the next job in the list
|
* get the next job in the list
|
||||||
*
|
*
|
||||||
* @return IJob|null
|
* @return IJob|null
|
||||||
|
* @suppress SqlInjectionChecker
|
||||||
*/
|
*/
|
||||||
public function getNext() {
|
public function getNext() {
|
||||||
$query = $this->connection->getQueryBuilder();
|
$query = $this->connection->getQueryBuilder();
|
||||||
|
|
|
@ -53,6 +53,9 @@ class RepairPendingCronJobs implements IRepairStep {
|
||||||
return version_compare($versionFromBeforeUpdate, '14.0.0.9', '<');
|
return version_compare($versionFromBeforeUpdate, '14.0.0.9', '<');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @suppress SqlInjectionChecker
|
||||||
|
*/
|
||||||
private function repair() {
|
private function repair() {
|
||||||
$reset = $this->connection->getQueryBuilder();
|
$reset = $this->connection->getQueryBuilder();
|
||||||
$reset->update('jobs')
|
$reset->update('jobs')
|
||||||
|
|
Loading…
Reference in New Issue