Ignore:
Timestamp:
10/31/21 22:29:22 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
master
Children:
1451c6f
Parents:
4521f25
Message:

bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Controllers/Dashboard/FilesController.php

    r4521f25 r8fdb18e  
    3434        $file = File::find($id);
    3535        $file->delete();
    36         Storage::disk('uploads')->delete($file->location);
     36        Storage::disk('local')->delete($file->location);
    3737        $file->folder()->decrement('no_of_files');
    3838
Note: See TracChangeset for help on using the changeset viewer.