Fix for 3b7ce4b
, change where setup is defined for our protocols
This commit is contained in:
@@ -93,13 +93,13 @@ class AddressPoll implements ShouldQueue, ShouldBeUnique
|
||||
|
||||
switch ($o->name) {
|
||||
case 'BINKP':
|
||||
$s = new Binkp(Setup::findOrFail(config('app.id')));
|
||||
$s = new Binkp;
|
||||
$mo = Mailer::where('name','BINKP')->singleOrFail();
|
||||
|
||||
break;
|
||||
|
||||
case 'EMSI':
|
||||
$s = new EMSI(Setup::findOrFail(config('app.id')));
|
||||
$s = new EMSI;
|
||||
$mo = Mailer::where('name','EMSI')->singleOrFail();
|
||||
|
||||
break;
|
||||
|
Reference in New Issue
Block a user