mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-04 00:42:20 +02:00
feature #606, make sure we delete oldest images first
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user