mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 06:54:36 -04:00
Clean up logging
This commit is contained in:
parent
666a2395d1
commit
53501da86b
@ -479,12 +479,8 @@ class DesignController extends BaseController
|
||||
$action = request()->input('action');
|
||||
|
||||
$ids = request()->input('ids');
|
||||
info($ids);
|
||||
$designs = Design::withTrashed()->find($this->transformKeys($ids));
|
||||
|
||||
info($designs);
|
||||
info("user id = ".auth()->user()->id);
|
||||
info("company id = ".auth()->user()->getCompany()->id);
|
||||
$designs = Design::withTrashed()->find($this->transformKeys($ids));
|
||||
|
||||
$designs->each(function ($design, $key) use ($action) {
|
||||
if (auth()->user()->can('edit', $design)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user