updated table structure for photobooth/sparkbooth settings. now there's a separate table for it. update all references and tests. also fixed the notification panel and the lightbox in the guest app.
This commit is contained in:
@@ -85,9 +85,24 @@ class AccountAnonymizer
|
||||
'location' => null,
|
||||
'slug' => 'anonymized-event-'.$event->id,
|
||||
'status' => 'archived',
|
||||
'photobooth_enabled' => false,
|
||||
'photobooth_path' => null,
|
||||
])->save();
|
||||
|
||||
$event->loadMissing('photoboothSetting');
|
||||
|
||||
if ($event->photoboothSetting) {
|
||||
$event->photoboothSetting->forceFill([
|
||||
'enabled' => false,
|
||||
'status' => 'inactive',
|
||||
'username' => null,
|
||||
'password' => null,
|
||||
'path' => null,
|
||||
'expires_at' => null,
|
||||
'last_deprovisioned_at' => now(),
|
||||
'last_upload_at' => null,
|
||||
'uploads_last_24h' => 0,
|
||||
'uploads_total' => 0,
|
||||
])->save();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user