mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-23 07:10:00 +08:00
Updated user profile image delete to delete all uploads
Also moved test and made more comprehensive
This commit is contained in:
@ -236,6 +236,7 @@ class ImageService extends UploadService
|
||||
* Destroys an Image object along with its files and thumbnails.
|
||||
* @param Image $image
|
||||
* @return bool
|
||||
* @throws Exception
|
||||
*/
|
||||
public function destroyImage(Image $image)
|
||||
{
|
||||
|
Reference in New Issue
Block a user