mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
improved user listing speed
This commit is contained in:
parent
479d47e2fd
commit
2151ec2f37
1 changed files with 0 additions and 2 deletions
|
@ -10,7 +10,6 @@ format=${1-shell}
|
||||||
|
|
||||||
# Importing variables
|
# Importing variables
|
||||||
source $VESTA/conf/vars.conf
|
source $VESTA/conf/vars.conf
|
||||||
source $V_FUNC/shared.func
|
|
||||||
|
|
||||||
# Json function
|
# Json function
|
||||||
json_list_users() {
|
json_list_users() {
|
||||||
|
@ -100,7 +99,6 @@ case $format in
|
||||||
plain) nohead=1; shell_list_users ;;
|
plain) nohead=1; shell_list_users ;;
|
||||||
shell) fields='$USER $PACKAGE $U_DISK $U_BANDWIDTH $SUSPENDED $DATE';
|
shell) fields='$USER $PACKAGE $U_DISK $U_BANDWIDTH $SUSPENDED $DATE';
|
||||||
shell_list_users | column -t ;;
|
shell_list_users | column -t ;;
|
||||||
*) check_args '1' '0' '[format]' ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue