forked from GNUsocial/gnu-social
[StoreRemoteMedia][SCRIPTS] Fix typo in query
This was introduced in 11ebb98919f56f7dcf888adfbebf9e8826f995b4#diff-96141878409d7418ea5a9eefbde509b43482c01R70 The arg number should have been one, as there's only one...
This commit is contained in:
parent
b6ce12a267
commit
fbeadc1d49
@ -62,7 +62,7 @@ $fn->query(sprintf(
|
|||||||
FROM file_to_post
|
FROM file_to_post
|
||||||
INNER JOIN file ON file_to_post.file_id = file.id
|
INNER JOIN file ON file_to_post.file_id = file.id
|
||||||
INNER JOIN notice ON file_to_post.post_id = notice.id
|
INNER JOIN notice ON file_to_post.post_id = notice.id
|
||||||
WHERE notice.is_local = 0 AND notice.modified <= '%3$s'
|
WHERE notice.is_local = 0 AND notice.modified <= '%1$s'
|
||||||
GROUP BY file_to_post.file_id
|
GROUP BY file_to_post.file_id
|
||||||
ORDER BY MAX(notice.modified)
|
ORDER BY MAX(notice.modified)
|
||||||
END,
|
END,
|
||||||
|
Loading…
Reference in New Issue
Block a user