tw: simplify cleanup query

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/812/head
Varun Patil 2023-09-08 16:30:38 -07:00
parent c5691f50b9
commit fd7ac71d96
1 changed files with 0 additions and 1 deletions

View File

@ -229,7 +229,6 @@ class TimelineWrite
->select($query->expr()->literal('1')) ->select($query->expr()->literal('1'))
->from('filecache', 'f') ->from('filecache', 'f')
->where($query->expr()->eq('f.fileid', "*PREFIX*{$table}.fileid")) ->where($query->expr()->eq('f.fileid', "*PREFIX*{$table}.fileid"))
->andWhere($query->expr()->notLike('f.path', $query->expr()->literal('files_trashbin/%')))
->getSQL() ->getSQL()
; ;