Ensure our jobs are storing objects without relations
This commit is contained in:
@@ -34,7 +34,7 @@ class MessageProcess implements ShouldQueue
|
||||
public function __construct(Echomail|Netmail $mo,bool $skipbot=FALSE)
|
||||
{
|
||||
// @todo We need to serialize this model here, because laravel has an error unserializing it (Model Not Found)
|
||||
$this->mo = utf8_encode(serialize($mo));
|
||||
$this->mo = utf8_encode(serialize($mo->withoutRelations()));
|
||||
$this->skipbot = $skipbot;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user