transmit storage quota in xmlrpc
This commit is contained in:
parent
bd8a86e455
commit
342bef9fe3
@ -32,6 +32,14 @@ public class UnixUserRemote extends AbstractRemote {
|
||||
if (assertNotNull(quotaHard)) {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user