Skip to content

Commit

Permalink
Suppress potential SQL injection warning as they are false positives
Browse files Browse the repository at this point in the history
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
  • Loading branch information
MorrisJobke committed Jul 9, 2018
1 parent 8a64433 commit 79801ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/BackgroundJob/JobList.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public function getAll() {
* get the next job in the list
*
* @return IJob|null
* @suppress SqlInjectionChecker
*/
public function getNext() {
$query = $this->connection->getQueryBuilder();
Expand Down
3 changes: 3 additions & 0 deletions lib/private/Repair/NC14/RepairPendingCronJobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ private function shouldRun() {
return version_compare($versionFromBeforeUpdate, '14.0.0.9', '<');
}

/**
* @suppress SqlInjectionChecker
*/
private function repair() {
$reset = $this->connection->getQueryBuilder();
$reset->update('jobs')
Expand Down

0 comments on commit 79801ad

Please sign in to comment.