mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-05-04 15:19:58 +03:00
feature #606, make sure we delete oldest images first
This commit is contained in:
parent
3466c432e1
commit
a93dba2f52
1 changed files with 1 additions and 0 deletions
|
@ -2964,6 +2964,7 @@ SELECT
|
|||
FROM '.IMAGES_TABLE.'
|
||||
LEFT JOIN '.IMAGE_CATEGORY_TABLE.' ON id = image_id
|
||||
WHERE category_id is null
|
||||
ORDER BY id ASC
|
||||
;';
|
||||
|
||||
return query2array($query, null, 'id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue