@@ -3,15 +3,10 @@ |
||
| 3 | 3 | namespace Audit; |
| 4 | 4 | |
| 5 | 5 | use Audit\Http\Middleware\Audits; |
| 6 | -use Illuminate\Foundation\AliasLoader; |
|
| 7 | 6 | use Illuminate\Routing\Router; |
| 8 | -use Illuminate\Support\Collection; |
|
| 9 | -use Illuminate\Support\Facades\App; |
|
| 10 | -use Illuminate\Support\Facades\Schema; |
|
| 11 | 7 | use Illuminate\Support\Facades\View; |
| 12 | 8 | use Illuminate\Support\ServiceProvider; |
| 13 | 9 | use Muleta\Traits\Providers\ConsoleTools; |
| 14 | -use Route; |
|
| 15 | 10 | |
| 16 | 11 | class AuditProvider extends ServiceProvider |
| 17 | 12 | { |
@@ -2,31 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Audit\Http\Controllers; |
| 4 | 4 | |
| 5 | -use App; |
|
| 6 | -use URL; |
|
| 7 | -use View; |
|
| 8 | -use Facilitador; |
|
| 9 | -use Event; |
|
| 10 | -use Former; |
|
| 11 | -use Request; |
|
| 12 | -use PedreiroURL; |
|
| 13 | -use Redirect; |
|
| 14 | -use Response; |
|
| 15 | -use stdClass; |
|
| 16 | -use Validator; |
|
| 17 | -use Illuminate\Support\Str; |
|
| 18 | -use Pedreiro\Template\Input\Search; |
|
| 19 | -use Bkwld\Library\Utils\File; |
|
| 20 | -use Facilitador\Input\Sidebar; |
|
| 21 | -use Pedreiro\Elements\Fields\Listing; |
|
| 22 | -use Translation\Template\Localize; |
|
| 23 | -use Facilitador\Input\Position; |
|
| 24 | -use Facilitador\Input\NestedModels; |
|
| 25 | -use Facilitador\Input\ModelValidator; |
|
| 26 | -use Facilitador\Models\Base as BaseModel; |
|
| 27 | 5 | use Pedreiro\Http\Controllers\Admin\Base as Controller; |
| 28 | -use Pedreiro\Exceptions\ValidationFail; |
|
| 29 | -use Bkwld\Library\Laravel\Validator as BkwldLibraryValidator; |
|
| 30 | 6 | |
| 31 | 7 | /** |
| 32 | 8 | * The base controller is gives Decoy most of the magic/for-free mojo |
@@ -2,16 +2,16 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Audit\Models; |
| 4 | 4 | |
| 5 | +use App\Models\User; |
|
| 6 | +use Audit\Models\Base; |
|
| 7 | +use Bkwld\Library\Utils\Text; |
|
| 8 | +use Config; |
|
| 5 | 9 | use DB; |
| 6 | 10 | use Facilitador; |
| 7 | -use Config; |
|
| 8 | -use PedreiroURL; |
|
| 11 | +use Illuminate\Database\Eloquent\Model; |
|
| 9 | 12 | use Illuminate\Support\Str; |
| 13 | +use PedreiroURL; |
|
| 10 | 14 | use Pedreiro\Template\Input\Search; |
| 11 | -use Bkwld\Library\Utils\Text; |
|
| 12 | -use Illuminate\Database\Eloquent\Model; |
|
| 13 | -use Audit\Models\Base; |
|
| 14 | -use App\Models\User; |
|
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Reperesents a single model change event. Typically a single CRUD action on |