mirror of
https://github.com/YunoHost-Apps/dolibarr_ynh.git
synced 2024-09-03 18:35:53 +02:00
Readme and hook delete
The sync script does not delete users. Therefore the post_user_delete hook is not needed (and does not work anyway) Update readme
This commit is contained in:
parent
73ba73d804
commit
dd094a1256
2 changed files with 1 additions and 14 deletions
|
@ -18,5 +18,6 @@ What does not work yet: see Issues
|
||||||
|
|
||||||
What works:
|
What works:
|
||||||
- Install, upgrade, remove, backup, restore
|
- Install, upgrade, remove, backup, restore
|
||||||
|
- Automatic login
|
||||||
- Sync YNH users with Dolibarr users
|
- Sync YNH users with Dolibarr users
|
||||||
- Sync YNH users with members in Dolibarr
|
- Sync YNH users with members in Dolibarr
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
app=YNH_APP
|
|
||||||
src_path=/var/www/$app
|
|
||||||
user=YNH_USER
|
|
||||||
member=YNH_MEMBER
|
|
||||||
|
|
||||||
# Sync users
|
|
||||||
sudo sudo -u www-data php $src_path/scripts/user/sync_users_ldap2dolibarr.php commitiferror --server=localhost -y
|
|
||||||
|
|
||||||
# If YNH users should also be members, sync members
|
|
||||||
if [ $member = 1 ];
|
|
||||||
then
|
|
||||||
sudo sudo -u www-data php $src_path/scripts/members/sync_members_ldap2dolibarr.php commitiferror 1 --server=localhost -y
|
|
||||||
fi
|
|
Loading…
Add table
Reference in a new issue