Skip to content

Commit

Permalink
tw: simplify cleanup query
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <[email protected]>
  • Loading branch information
pulsejet committed Sep 8, 2023
1 parent c5691f5 commit fd7ac71
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Db/TimelineWrite.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ public function cleanupStale(): void
->select($query->expr()->literal('1'))
->from('filecache', 'f')
->where($query->expr()->eq('f.fileid', "*PREFIX*{$table}.fileid"))
->andWhere($query->expr()->notLike('f.path', $query->expr()->literal('files_trashbin/%')))
->getSQL()
;

Expand Down

0 comments on commit fd7ac71

Please sign in to comment.