Skip to content
Snippets Groups Projects
Unverified Commit b44e9121 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Remove deleteMailbox

parent 765d7511
No related branches found
No related tags found
No related merge requests found
......@@ -150,17 +150,6 @@ class Account implements JsonSerializable {
return $this->client;
}
/**
* @param string $mailBox
*/
public function deleteMailbox($mailBox) {
if ($mailBox instanceof Mailbox) {
$mailBox = $mailBox->getFolderId();
}
$conn = $this->getImapConnection();
$conn->deleteMailbox($mailBox);
}
/**
* @param string $folderId
* @return Mailbox
......
......@@ -69,7 +69,7 @@ abstract class AbstractTest extends TestCase {
try {
self::deleteMailbox($createdMailbox);
} catch (Exception $ex) {
}
}
}
......@@ -98,13 +98,6 @@ abstract class AbstractTest extends TestCase {
return self::$account;
}
/**
* @param string $mailbox
*/
private static function deleteMailbox($mailbox) {
self::$account->deleteMailbox($mailbox);
}
/**
* @param string $name
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment