Skip to content

Commit 6e6e66e

Browse files
author
Till Brehm
committed
Merge branch 'patch-2' into 'stable-3.1'
Fix mb_soft and mb_hard values when using xfs filesystem for website quota See merge request !393
2 parents 06cb57f + 5785b0a commit 6e6e66e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,7 @@ function update($event_name, $data) {
878878
if($data['new']['hd_quota'] > 0) {
879879
$blocks_soft = $data['new']['hd_quota'] * 1024;
880880
$blocks_hard = $blocks_soft + 1024;
881+
$mb_soft = $data['new']['hd_quota'];
881882
$mb_hard = $mb_soft + 1;
882883
} else {
883884
$mb_soft = $mb_hard = $blocks_soft = $blocks_hard = 0;

0 commit comments

Comments
 (0)