mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
rm commented code
This commit is contained in:
parent
70e5e0f9df
commit
a8cd1027f3
|
@ -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';
|
||||||
|
|
Loading…
Reference in a new issue