0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-19 06:31:30 +00:00

Cleaned up some user/image areas of the app

Further cleanup of docblocks and standardisation of repos.
This commit is contained in:
Dan Brown 2020-12-08 23:46:38 +00:00
parent 6c09334ba0
commit 00308ad4ab
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
10 changed files with 146 additions and 157 deletions
app/Http/Controllers

View file

@ -188,7 +188,7 @@ class UserController extends Controller
$user->image_id = $image->id;
}
// Delete the profile image if set to
// Delete the profile image if reset option is in request
if ($request->has('profile_image_reset')) {
$this->imageRepo->destroyImage($user->avatar);
}