Skip to content

Commit 3f3c735

Browse files
committed
Revert "Add action events logging configuration and implement saving event in NovaServiceProvider"
This reverts commit 5f8d8d1.
1 parent 5f8d8d1 commit 3f3c735

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

app/Providers/NovaServiceProvider.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
use Illuminate\Support\Facades\Hash;
5959
use Laravel\Fortify\Features;
6060
use Laravel\Fortify\Fortify;
61-
use Laravel\Nova\Actions\ActionEvent;
6261
use Laravel\Nova\Menu\Menu;
6362
use Laravel\Nova\Menu\MenuItem;
6463
use Laravel\Nova\Menu\MenuSection;
@@ -77,11 +76,6 @@ class NovaServiceProvider extends NovaApplicationServiceProvider
7776
public function boot()
7877
{
7978
parent::boot();
80-
81-
ActionEvent::saving(function ($actionEvent) {
82-
return config('nova.action_events_log', true);
83-
});
84-
8579
Nova::footer(fn () => '<p class="mt-8 text-center text-xs text-80">
8680
Sistem Integrasi Pekerjaan dan Dokumentasi secara Elektronik <span class="px-1">&middot;</span> v.'.Helper::version().'
8781
</p>

config/nova.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -203,17 +203,4 @@
203203
'stopped' => '/',
204204
],
205205

206-
/*
207-
|--------------------------------------------------------------------------
208-
| Action Events Log
209-
|--------------------------------------------------------------------------
210-
|
211-
| This configuration option allows you to enable or disable the logging of
212-
| action events. When enabled, the actions that are executed within Nova
213-
| will be logged in the "action_events" database table for auditing.
214-
|
215-
*/
216-
217-
'action_events_log' => true,
218-
219206
];

0 commit comments

Comments
 (0)