Behavior change: CMD_API_SHOW_USER_DOMAINS, CMD_SHOW_USER, CMD_API_SHOW_USER_USAGE, CMD_API_SHOW_USER_CONFIG: quota

Version 1.62.0

Bugfix
Finished

The per-domain quota output in the json=yes format was previously: "quota": "653.505", this was a bug in that: 1) It did not respect the bytes=yes column 2) It did not show the quota limit The output would be: "quota": { "limit": "shared", "usage": "685249658" }, ------ IMPORTANT This is a behavior change and is not backwards compatible without a change to the call. If you were calling, eg: CMD_API_SHOW_USER_DOMAINS?bytes=yes&json=yes&user=fred CMD_SHOW_USER?bytes=yes&json=yes&user=fred CMD_API_SHOW_USER_USAGE?bytes=yes&json=yes&user=fred CMD_API_SHOW_USER_CONFIG?bytes=yes&json=yes&user=fred the output is now different (unrelated to bytes=yes) You can revert to the old output method by adding: &old_quota_format=yes which shows the old string instead of the array. We recommend converting to use the new array method instead as "old_quota_format=yes" may be eventually deprecated. ------ SECOND WORKAROUND directadmin.conf option: simple_disk_usage=0 would hide the output entirely, and completely relies on system quotas for disk usage. The tallies use far less disk I/O, but per-domain usage is not counted (no directory traversal) ===== EVO 2126

Interested to try DirectAdmin? Get a 30-day Free Trial!