Changeset 190db9f for app/Http/Controllers/Dashboard
- Timestamp:
- 11/01/21 11:18:15 (3 years ago)
- Branches:
- master
- Children:
- d95fdd2
- Parents:
- 1451c6f
- Location:
- app/Http/Controllers/Dashboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Controllers/Dashboard/DepartmentsController.php
r1451c6f r190db9f 11 11 use App\Models\User; 12 12 use App\Notifications\NewDepartmentCreated; 13 use App\Notifications\NewFolderCreated; 13 14 use Carbon\Carbon; 14 15 use App\Http\Controllers\Controller; -
app/Http/Controllers/Dashboard/FoldersController.php
r1451c6f r190db9f 151 151 152 152 $users = User::all(); 153 Notification::send($users, new NewFolderCreated("New folder created"));154 153 155 154 $folder->location = $location; … … 246 245 } 247 246 248 if (auth()->user()->hasPermission("delete_ all_folders")) {247 if (auth()->user()->hasPermission("delete_data")) { 249 248 250 249 foreach ($files as $file) {
Note:
See TracChangeset
for help on using the changeset viewer.