Removed useless feature

This commit is contained in:
2020-11-03 03:00:03 +00:00
parent d53e8135ee
commit 32c01f6e0b
9 changed files with 28 additions and 499 deletions

View File

@@ -85,7 +85,7 @@ class TeamFileController extends Controller
{
try
{
return Storage::download('uploads/' . $teamFile->fs_location, $teamFile->name);
return Storage::download($teamFile->fs_location, $teamFile->name);
}
catch (FileNotFoundException $ex)
{
@@ -130,7 +130,7 @@ class TeamFileController extends Controller
try
{
Storage::delete('uploads/' . $teamFile->fs_location);
Storage::delete($teamFile->fs_location);
$teamFile->delete();
$request->session()->flash('success', 'File deleted successfully.');