mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
Check if source user is suspended
This commit is contained in:
parent
06527b4d49
commit
c43b3b0976
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ if [ "$owner" = "$user" ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
USER_DATA=$VESTA/data/users/$owner
|
||||||
|
is_object_unsuspended 'user' 'USER' "$owner"
|
||||||
|
USER_DATA=$VESTA/data/users/$user
|
||||||
|
|
||||||
USER_TO=$user
|
USER_TO=$user
|
||||||
|
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue