diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-07 13:51:23 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-07 13:51:23 +0200 |
commit | 2193f6a1301edcb62de6f0cf338acccdbf5ec2f1 (patch) | |
tree | 61ccde7d0088c2a5c7274ccdaa2e2fcd91104fed /plugins/password/drivers/xmail.php | |
parent | ef1d6525c2333794d954ccce33de1bcd533f85c8 (diff) |
Avoid unused local variables
Diffstat (limited to 'plugins/password/drivers/xmail.php')
-rw-r--r-- | plugins/password/drivers/xmail.php | 4 |
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; } |