rm commented code

This commit is contained in:
spencerrlongg 2024-08-20 11:40:15 -05:00
parent 70e5e0f9df
commit a8cd1027f3

View file

@ -234,11 +234,6 @@ class UsersController extends Controller
$this->authorize('update', $user); $this->authorize('update', $user);
//see if i can get this working at request level
//if ($request->has('company_id') && $user->allAssignedCount() > 0 && Setting::getSettings()->full_multiple_companies_support) {
// return back()->with('error', trans('admin/users/message.multi_company_items_assigned'));
//}
// Figure out of this user was an admin before this edit // Figure out of this user was an admin before this edit
$orig_permissions_array = $user->decodePermissions(); $orig_permissions_array = $user->decodePermissions();
$orig_superuser = '0'; $orig_superuser = '0';