From 6fa1a0da1f0902f10be8fc4eb24180f8e3453c17 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 24 Jun 2014 13:16:18 -0400
Subject: [PATCH] Extend get_quota() so it's possible to specify GETQUOTAROOT folder and return full quota info (including all roots and types, e.g. MESSAGE) - for future use
---
program/include/rcmail.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index f468921..29ed66a 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -1678,6 +1678,7 @@
$quota = $this->storage->get_quota();
$quota = $this->plugins->exec_hook('quota', $quota);
+ unset($quota['abort']);
$quota_result = (array) $quota;
$quota_result['type'] = isset($_SESSION['quota_display']) ? $_SESSION['quota_display'] : '';
--
Gitblit v1.9.1