tw: simplify cleanup query
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/812/head
parent
c5691f50b9
commit
fd7ac71d96
|
@ -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()
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue