1
0
Fork 0
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:
scith 2017-05-05 17:29:47 +02:00
parent 73ba73d804
commit dd094a1256
2 changed files with 1 additions and 14 deletions

View file

@ -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

View file

@ -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