SF.net SVN: postfixadmin:[1758] trunk/model/DomainHandler.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2015-03-19 23:07:22
|
Revision: 1758 http://sourceforge.net/p/postfixadmin/code/1758 Author: christian_boltz Date: 2015-03-19 23:07:19 +0000 (Thu, 19 Mar 2015) Log Message: ----------- DomainHandler: - initStruct(): re-enable total_quota - MailboxHandler needs it Modified Paths: -------------- trunk/model/DomainHandler.php Modified: trunk/model/DomainHandler.php =================================================================== --- trunk/model/DomainHandler.php 2015-03-19 22:57:23 UTC (rev 1757) +++ trunk/model/DomainHandler.php 2015-03-19 23:07:19 UTC (rev 1758) @@ -81,8 +81,8 @@ # Domain quota 'quota' => pacol($edit_dom_q,$edit_dom_q, 0, 'num', 'pAdminEdit_domain_quota' , 'pAdminEdit_domain_maxquota_text' , Config::read('domain_quota_default') ), -# 'total_quota' => pacol( 0, 0, 0, 'vnum', '' , '' , '', '', -# array('select' => "$query_used_domainquota AS total_quota") /*extrafrom*//* already in mailbox_count */ ), + 'total_quota' => pacol( 0, 0, 1, 'vnum', '' , '' , '', '', + array('select' => "$query_used_domainquota AS total_quota") /*extrafrom*//* already in mailbox_count */ ), 'total_quot' => pacol( 0, 0, $dom_q, 'quot', 'pAdminEdit_domain_quota' , '' , 0, '', array('select' => db_quota_text( $query_used_domainquota, 'quota', 'total_quot')) ), '_total_quot_percent'=> pacol( 0, 0, $dom_q, 'vnum', '' , '' , 0, '', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |