From b2f904c64f8be7058960fa1a7aadb4a83aef6bb1 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 18 Mar 2025 13:36:49 +0100 Subject: [PATCH] IMAP: Add Data_length --- plugins/drivers/imap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/drivers/imap.php b/plugins/drivers/imap.php index 6fe22214..8e8cd5ba 100644 --- a/plugins/drivers/imap.php +++ b/plugins/drivers/imap.php @@ -94,6 +94,7 @@ if (isset($_GET["imap"])) { "Name" => $name, "Rows" => $return->messages, "Auto_increment" => $return->uidnext, + "Data_length" => $return->messages, // this is used on database overview "Data_free" => $return->unseen, ); } @@ -284,6 +285,6 @@ if (isset($_GET["imap"])) { } function support($feature) { - return preg_match("~^()$~", $feature); + return false; } }