Skip to content

Commit ae2fe23

Browse files
author
Tim Wichmann
committed
Address code review comments
Signed-off-by: Tim Wichmann <tim@wichmann.online>
1 parent 322e943 commit ae2fe23

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/imap.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,10 @@ public function checkPassword($uid, $password) {
8989
$url = "{$protocol}://{$this->mailbox}:{$this->port}";
9090
$ch = curl_init();
9191
curl_setopt($ch, CURLOPT_URL, $url);
92-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
9392
curl_setopt($ch, CURLOPT_USERPWD, $username.":".$password);
9493
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
9594

9695
$canconnect = curl_exec($ch);
97-
$info = curl_getinfo($ch);
9896

9997
if($canconnect) {
10098
curl_close($ch);

0 commit comments

Comments
 (0)