mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
rm commented code
This commit is contained in:
parent
70e5e0f9df
commit
a8cd1027f3
|
@ -234,12 +234,7 @@ class UsersController extends Controller
|
|||
|
||||
$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_superuser = '0';
|
||||
if (is_array($orig_permissions_array)) {
|
||||
|
|
Loading…
Reference in a new issue