diff --git a/index.php b/index.php index b633d4a..3d45106 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,6 @@ $inbox = imap_open("{" . MAIL_SERVER . "/imap/novalidate-cert}INBOX", MAIL_USER, or die("can't connect:" . imap_last_error()); $emails = imap_search($inbox, 'UNSEEN'); -rsort($emails); if ($emails) for ($j = 0; $j <= count($emails) && $j <= 4; $j++) { diff --git a/lib/DeckClass.php b/lib/DeckClass.php index e3649dd..001eea2 100644 --- a/lib/DeckClass.php +++ b/lib/DeckClass.php @@ -39,10 +39,6 @@ class DeckClass { if ($err) { echo "cURL Error #:" . $err; - } else { - if ($request == 'POST') { - print_r($response); - } } return json_decode($response);