count_other_disk_usage: other_disk_usage.sh can have multiple instances

Version 1.62.0

Bugfix
Finished

When using count_other_disk_usage=1, there is a custom script which can be used to add extra usage to a User's quota total: https://www.directadmin.com/features.php?id=1992 However, with the introduction of plugins/hooks to allow their own instance of the custom scripts; https://directadmin.com/features.php?id=2630 This means that the script could exist more than once. Although each one would be correctly called, their results would overwrite the previous for each call. ====== FIX Each script now has it's own unique return descriptor, and they're assembled/added after all instances are finished. ====== DEBUG If you need more info about which script is returning which value, use the tally debug level 432, eg: cd /usr/local/directadmin echo "action=tally&value=fred&type=user" >> data/task.queue; ./dataskq d432 and look for lines starting with: Tally::tallyUser::get_other_disk_usage ====== T29923

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