transmit storage quota in xmlrpc

This commit is contained in:
Peter Hormanns 2021-08-17 13:30:52 +02:00
parent bd8a86e455
commit 342bef9fe3

View File

@ -32,6 +32,14 @@ public class UnixUserRemote extends AbstractRemote {
if (assertNotNull(quotaHard)) { if (assertNotNull(quotaHard)) {
map.put("quota_hardlimit", quotaHard.toString()); map.put("quota_hardlimit", quotaHard.toString());
} }
Integer storageSoft = user.getStorageSoftlimit();
if (assertNotNull(storageSoft)) {
map.put("storage_softlimit", storageSoft.toString());
}
Integer storageHard = user.getStorageHardlimit();
if (assertNotNull(storageHard)) {
map.put("storage_hardlimit", storageHard.toString());
}
} }
@Override @Override