Fix, when moving address and deleting the source system, also delete any system_logs
This commit is contained in:
parent
829fe1d7a9
commit
d6779e6e01
@ -308,6 +308,7 @@ class SystemController extends Controller
|
||||
|
||||
if (Arr::get($validated,'remove')) {
|
||||
$so->sessions()->detach($o->zone);
|
||||
$so->logs()->delete();
|
||||
$so->mailers()->detach();
|
||||
$so->users()->detach();
|
||||
$so->delete();
|
||||
|
Loading…
Reference in New Issue
Block a user