mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 11:45:36 +00:00
Additional doc blocks, added private_uploads path
This commit is contained in:
@ -938,7 +938,7 @@ class UsersController extends Controller
|
||||
|
||||
|
||||
$user = User::find($userId);
|
||||
$destinationPath = storage_path() . '/app/private_uploads/users';
|
||||
$destinationPath = config('app.private_uploads') . '/users';
|
||||
|
||||
if (isset($user->id)) {
|
||||
|
||||
@ -986,7 +986,7 @@ class UsersController extends Controller
|
||||
public function getDeleteFile($userId = null, $fileId = null)
|
||||
{
|
||||
$user = User::find($userId);
|
||||
$destinationPath = app_path() . '/private_uploads';
|
||||
$destinationPath = config('app.private_uploads').'/users';
|
||||
|
||||
// the license is valid
|
||||
if (isset($user->id)) {
|
||||
|
||||
Reference in New Issue
Block a user