We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
restored
1 parent b25040e commit 78e2707Copy full SHA for 78e2707
src/Traits/Actionable.php
@@ -45,11 +45,11 @@ protected static function boot(): void
45
});
46
}
47
48
-// if (config('user-monitoring.action_monitoring.on_replicate', false)) {
49
-// static::restored(function (mixed $model) {
50
-// static::insertActionMonitoring($model, ActionType::ACTION_REPLICATE);
51
-// });
52
-// }TODO: Release next version
+ if (config('user-monitoring.action_monitoring.on_restore', false)) {
+ static::restored(function (mixed $model) {
+ static::insertActionMonitoring($model, ActionType::ACTION_RESTORED);
+ });
+ }
53
/*
54
* Events:
55
* trashed
0 commit comments