Move the send DB updates out of the protocol and into Send::class
This commit is contained in:
@@ -1211,7 +1211,7 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
$z = new Zmodem;
|
||||
|
||||
if (! $z->zmodem_sendinit($this->client,$zap) && $this->send->togo_count)
|
||||
$z->zmodem_sendfile($this->send);
|
||||
$z->zmodem_sendfile($this->send,$this->node);
|
||||
}
|
||||
|
||||
// Send files
|
||||
@@ -1219,7 +1219,7 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
$z = new Zmodem;
|
||||
|
||||
if (! $z->zmodem_sendinit($this->client,$zap) && $this->send->togo_count)
|
||||
$z->zmodem_sendfile($this->send);
|
||||
$z->zmodem_sendfile($this->send,$this->node);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user