]> git.joonet.de Git - adminer.git/commitdiff
IMAP: Add Data_length
authorJakub Vrana <jakub@vrana.cz>
Tue, 18 Mar 2025 12:36:49 +0000 (13:36 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 18 Mar 2025 12:36:49 +0000 (13:36 +0100)
plugins/drivers/imap.php

index 6fe22214c38ccd8bf843e233800a1bf5f92ebf55..8e8cd5ba3eb361a797e16546e9e5c4c1946c9ec1 100644 (file)
@@ -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;
        }
 }