Add double-density support to photo thumbnails #28
@ -158,7 +158,8 @@ class Image extends Asset
|
|||||||
}
|
}
|
||||||
|
|
||||||
return Registry::get('db')->query('
|
return Registry::get('db')->query('
|
||||||
DELETE FROM assets_thumbs
|
UPDATE assets_thumbs
|
||||||
|
SET filename = NULL
|
||||||
WHERE id_asset = {int:id_asset}',
|
WHERE id_asset = {int:id_asset}',
|
||||||
['id_asset' => $this->id_asset]);
|
['id_asset' => $this->id_asset]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user