PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.1
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.1
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Libraries/Imap2/Thread.php +0 -33 11.0.5 → 11.1.1 View file →
@@ -1,33 +1,0 @@
1 -<?php
2 -
3 -/*
4 - * This file is part of the PHP IMAP2 package.
5 - *
6 - * (c) Francesco Bianco <[email protected]>
7 - *
8 - * For the full copyright and license information, please view the LICENSE
9 - * file that was distributed with this source code.
10 - */
11 -
12 -namespace AcyMailing\Libraries\Imap2;
13 -
14 -class Thread
15 -{
16 - public static function thread($imap, $flags = SE_FREE)
17 - {
18 - if (is_a($imap, Connection::class)) {
19 - $client = $imap->getClient();
20 - #$client->setDebug(true);
21 -
22 - $thread = $client->thread($imap->getMailboxName());
23 -
24 - if (empty($thread->count())) {
25 - return false;
26 - }
27 -
28 - return $thread->get();
29 - }
30 -
31 - return imap_thread($imap, $flags);
32 - }
33 -}