1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-24 07:42:07 +03:00

Updated user profile image delete to delete all uploads

Also moved test and made more comprehensive
This commit is contained in:
Dan Brown
2018-01-28 14:08:14 +00:00
parent 35e00ddb95
commit ead4b14d94
4 changed files with 37 additions and 25 deletions

View File

@ -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)
{