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:
parent
6c09334ba0
commit
00308ad4ab
10 changed files with 146 additions and 157 deletions
app/Http/Controllers
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue