forked from Public/pics
Image: don't re-queue thumbnails when deleting them
This commit is contained in:
parent
3a533b7644
commit
0c13a39d04
@ -160,8 +160,7 @@ class Image extends Asset
|
||||
}
|
||||
|
||||
return Registry::get('db')->query('
|
||||
UPDATE assets_thumbs
|
||||
SET filename = NULL
|
||||
DELETE FROM assets_thumbs
|
||||
WHERE id_asset = {int:id_asset}',
|
||||
['id_asset' => $this->id_asset]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user