summaryrefslogtreecommitdiff
path: root/plugins/password/drivers/xmail.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-07 13:51:23 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-07 13:51:23 +0200
commit2193f6a1301edcb62de6f0cf338acccdbf5ec2f1 (patch)
tree61ccde7d0088c2a5c7274ccdaa2e2fcd91104fed /plugins/password/drivers/xmail.php
parentef1d6525c2333794d954ccce33de1bcd533f85c8 (diff)
Avoid unused local variables
Diffstat (limited to 'plugins/password/drivers/xmail.php')
-rw-r--r--plugins/password/drivers/xmail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/password/drivers/xmail.php b/plugins/password/drivers/xmail.php
index 37abc3001..59e467c5b 100644
--- a/plugins/password/drivers/xmail.php
+++ b/plugins/password/drivers/xmail.php
@@ -67,7 +67,7 @@ class XMail {
function send($msg)
{
socket_write($this->socket,$msg);
- if (substr($in = socket_read($this->socket, 512, PHP_BINARY_READ),0,1) != "+") {
+ if (substr(socket_read($this->socket, 512, PHP_BINARY_READ),0,1) != "+") {
return false;
}
return true;
@@ -85,7 +85,7 @@ class XMail {
return false;
}
- if (substr($in = socket_read($this->socket, 512, PHP_BINARY_READ),0,1) != "+") {
+ if (substr(socket_read($this->socket, 512, PHP_BINARY_READ),0,1) != "+") {
socket_close($this->socket);
return false;
}